EnvironmentAccessibleObject.Name Property

Gets or sets the object name.
Public Overrides Property Name() As String
This language is not supported or no code example is available.
public override string Name {get; set;}
This language is not supported or no code example is available.

Property Value

string

The object name, or null reference (Nothing in Visual Basic) if the property has not been set.

Exception type Condition

COMException

The name of the control cannot be retrieved or set.

.NET Framework

Supported in: 4.8

In this article

Definition