次の方法で共有


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

'宣言
Public ReadOnly Property Name As String
public string Name { get; }

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

Microsoft.VisualStudio.Shell.Design Namespace

GlobalObject

Instance