GlobalObjectDescriptionAttribute Constructor (GlobalObject, IDictionary)
Initializes a new instance of GlobalObjectDescriptionAttribute for the specified global object and custom data.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
声明
Public Sub New ( _
globalObject As GlobalObject, _
customData As IDictionary _
)
用法
Dim globalObject As GlobalObject
Dim customData As IDictionary
Dim instance As New GlobalObjectDescriptionAttribute(globalObject, _
customData)
public GlobalObjectDescriptionAttribute(
GlobalObject globalObject,
IDictionary customData
)
public:
GlobalObjectDescriptionAttribute(
GlobalObject^ globalObject,
IDictionary^ customData
)
new :
globalObject:GlobalObject *
customData:IDictionary -> GlobalObjectDescriptionAttribute
public function GlobalObjectDescriptionAttribute(
globalObject : GlobalObject,
customData : IDictionary
)
Parameters
- globalObject
Type: Microsoft.VisualStudio.Shell.Design.GlobalObject
The global object.
- customData
Type: System.Collections.IDictionary
An IDictionary to store custom data.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
GlobalObjectDescriptionAttribute Class
GlobalObjectDescriptionAttribute Members