KeyAttributePair<T> Structure
Maps a string key to an Attribute instance.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Structure KeyAttributePair(Of T As Attribute)
public struct KeyAttributePair<T>
where T : Attribute
generic<typename T>
where T : Attribute
public value class KeyAttributePair
[<Sealed>]
type KeyAttributePair<'T when 'T : Attribute> = struct end
JScript does not support generic types or methods.
Type Parameters
- T
The type of attribute.
The KeyAttributePair<T> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
KeyAttributePair<T> | Initializes a new instance of the KeyAttributePair<T> class. |
Top
Properties
Name | Description | |
---|---|---|
Key | Gets the key for the current KeyAttributePair<T>. | |
Value | Gets the Attribute for the current KeyAttributePair<T>. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified KeyAttributePair<T> is equal to the current KeyAttributePair<T>. (Overrides ValueType.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for the current KeyAttributePair<T>. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether the specified KeyAttributePair<T> instances are considered equal. | |
Inequality | Determines whether the specified KeyAttributePair<T> instances are considered not equal. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Windows.Design.PropertyEditing Namespace