PickerEntity.Key Property
Gets or sets the identifier of a database record.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<DataMemberAttribute> _
Public Property Key As String
Get
Set
'Usage
Dim instance As PickerEntity
Dim value As String
value = instance.Key
instance.Key = value
[DataMemberAttribute]
public string Key { get; set; }
Property Value
Type: System.String
The identifier of a database record.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The value of the identifier is a null reference (Nothing in Visual Basic). |