IKeyValuePair<K, V>.Key property

Applies to Windows and Windows Phone

Gets the key of the key-value pair.

Syntax


property K^ Key { 
   K^ get();
}

Property value

Type: K

The key.

Remarks

When building Windows Store apps with the Microsoft .NET Framework, this interface is hidden and developers should use the System.Collections.Generic.KeyValuePair<K,V> class.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows::Foundation::Collections

Metadata

Windows.winmd

See also

IKeyValuePair<K, V>

 

 

Show:
© 2014 Microsoft