Gets or sets the user name preferred by the
application for the local user. This name will be used as the
display name of the user in outgoing messages. This property
indicates the display name to use in outgoing messages.
Namespace:
Microsoft.Rtc.Signaling
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Property
DisplayName
As
String
|
C# |
public
string
DisplayName {
get;
set; }
|
Visual C++ |
public:
property
String^
DisplayName {
String^
get ();
void
set (
String^
value);
}
|
JavaScript |
function get_
displayName();
function set_
displayName(
value);
|
Field Value
The display name
string.
Exceptions
Exception |
Condition |
ArgumentException
|
The display name being set is null or empty string. |
See Also