The PolicyAttribute data type. This data type contains a key/value pair that defines properties of a specific policy.
| C# |
public class PolicyAttribute
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| PolicyAttribute()()()() |
Default constructor for a new PolicyAttribute object. Callers should use the
properties or fluent setter (With...) methods to initialize this object after creating it.
| |
| PolicyAttribute(String, String) |
Constructs a new PolicyAttribute object.
Callers should use the properties or fluent setter (With...) methods to
initialize any additional object members.
| |
| AttributeName |
The name of the attribute associated with the policy.
| |
| AttributeValue |
The value of the attribute associated with the policy.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithAttributeName(String) | Obsolete.
Sets the AttributeName property
| |
| WithAttributeValue(String) | Obsolete.
Sets the AttributeValue property
|
| Object | |
| PolicyAttribute | |