Share 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
'Usage
Dim instance As GlobalObject 
Dim value As String 

value = instance.Name
public string Name { get; }
public:
property String^ Name {
    String^ get ();
}
public function get Name () : String

Property Value

Type: System.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

GlobalObject Members

Microsoft.VisualStudio.Shell.Design Namespace

GlobalObject

Instance