Поделиться через


KeyAttributePair<T> Constructor

Initializes a new instance of the KeyAttributePair<T> class.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Sub New ( _
    key As String, _
    value As T _
)
public KeyAttributePair(
    string key,
    T value
)
public:
KeyAttributePair(
    String^ key, 
    T value
)
new : 
        key:string * 
        value:'T -> KeyAttributePair
public function KeyAttributePair(
    key : String, 
    value : T
)

Parameters

  • key
    Type: System.String
    A unique string to associate with value.
  • value
    Type: T
    The Attribute to associate with key.

.NET Framework Security

See Also

Reference

KeyAttributePair<T> Structure

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

Property Editing Architecture

WPF Designer Extensibility