Visual Basic (Declaration) | |
---|---|
<DataMemberAttribute(Name="UserName", IsRequired=True)> Public Property UserName As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[DataMemberAttribute(Name="UserName", IsRequired=true)] public string UserName {get; set;} |
C++/CLI | |
---|---|
[DataMemberAttribute(Name="UserName", IsRequired=true)] public: property String^ UserName { String^ get(); void set (String^ value); } |
Return Value
A String that specifies the user name.For an example, refer to UrlBinaryData.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family