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
'Declaration
Public Property HelperObjectType As Type
public Type HelperObjectType { get; set; }
public:
property Type^ HelperObjectType {
Type^ get ();
void set (Type^ value);
}
member HelperObjectType : Type with get, set
function get HelperObjectType () : Type
function set HelperObjectType (value : Type)
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.