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.12.0 (in Microsoft.VisualStudio.Shell.12.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: 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

See Also

Reference

ProvideToolboxItemDiscoveryAttribute Class

Microsoft.VisualStudio.Shell Namespace