共用方式為


GlobalObjectDescriptionAttribute Constructors

Definition

Overloads

GlobalObjectDescriptionAttribute(GlobalObject)

Initializes a new instance of GlobalObjectDescriptionAttribute for the specified global object.

GlobalObjectDescriptionAttribute(GlobalObject, IDictionary)

Initializes a new instance of GlobalObjectDescriptionAttribute for the specified global object and custom data.

GlobalObjectDescriptionAttribute(GlobalObject)

Initializes a new instance of GlobalObjectDescriptionAttribute for the specified global object.

public:
 GlobalObjectDescriptionAttribute(Microsoft::VisualStudio::Shell::Design::GlobalObject ^ globalObject);
public GlobalObjectDescriptionAttribute (Microsoft.VisualStudio.Shell.Design.GlobalObject globalObject);
new Microsoft.VisualStudio.Shell.Design.GlobalObjectDescriptionAttribute : Microsoft.VisualStudio.Shell.Design.GlobalObject -> Microsoft.VisualStudio.Shell.Design.GlobalObjectDescriptionAttribute
Public Sub New (globalObject As GlobalObject)

Parameters

globalObject
GlobalObject

The global object.

Applies to

GlobalObjectDescriptionAttribute(GlobalObject, IDictionary)

Initializes a new instance of GlobalObjectDescriptionAttribute for the specified global object and custom data.

public:
 GlobalObjectDescriptionAttribute(Microsoft::VisualStudio::Shell::Design::GlobalObject ^ globalObject, System::Collections::IDictionary ^ customData);
public GlobalObjectDescriptionAttribute (Microsoft.VisualStudio.Shell.Design.GlobalObject globalObject, System.Collections.IDictionary customData);
new Microsoft.VisualStudio.Shell.Design.GlobalObjectDescriptionAttribute : Microsoft.VisualStudio.Shell.Design.GlobalObject * System.Collections.IDictionary -> Microsoft.VisualStudio.Shell.Design.GlobalObjectDescriptionAttribute
Public Sub New (globalObject As GlobalObject, customData As IDictionary)

Parameters

globalObject
GlobalObject

The global object.

customData
IDictionary

An IDictionary to store custom data.

Applies to