Gets or sets the name.
public string Name { get; set; }
Public Property Name As String Get Set
public:
property String^ Name {
String^ get ();
void set (String^ value);
}| Exception | Condition |
|---|---|
| [!:System.ArgumentException] | Thrown when setting to a name that is invalid string or duplicate. |