Delen via


GlobalObject.Name Property

Gets the recommended name of the global object.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public ReadOnly Property Name As String
public string Name { get; }
public:
property String^ Name {
    String^ get ();
}
member Name : string with get
function get Name () : String

Property Value

Type: String
A String that contains the recommended name of the global object.

Remarks

The Name property is only used at design time to identify the global object to the user of the design-time environment.

Names must be unique for all global objects within a given provider. The actual name for the global object may differ from the recommended name if it conflicts with an existing name or violates language naming conventions.

The Name property is set in the constructor for this class.

.NET Framework Security

See Also

Reference

GlobalObject Class

Microsoft.VisualStudio.Shell.Design Namespace

GlobalObject

Instance