Share via


MemberIdentifier.Code Property

Gets or sets the user key of the master data member that is unique within the context of the entity.

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services (in Microsoft.MasterDataServices.Services.dll)

Syntax

'Declaration
<DataMemberAttribute(Order := , IsRequired := True)> _
Public Property Code As String
    Get
    Set
'Usage
Dim instance As MemberIdentifier
Dim value As String

value = instance.Code

instance.Code = value
[DataMemberAttribute(Order = , IsRequired = true)]
public string Code { get; set; }
[DataMemberAttribute(Order = , IsRequired = true)]
public:
property String^ Code {
    String^ get ();
    void set (String^ value);
}
[<DataMemberAttribute(Order = , IsRequired = true)>]
member Code : string with get, set
function get Code () : String
function set Code (value : String)

Property Value

Type: System.String
A string representing the key.