ProvideToolboxItemDiscoveryAttribute.HelperObjectType Property
Gets or sets the type of the helper object that will be passed to your IToolboxItemDiscovery implementation's constructor.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Property HelperObjectType As Type
public Type HelperObjectType { get; set; }
Property Value
Type: System.Type
Remarks
The type must derive from MarshalByRefObject or be serializable because it is passed across an application domain boundary. This property can be left unset if you do not need a helper object.
.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.