共用方式為


ProvideToolboxItemDiscoveryAttribute.HelperObjectType Property

Definition

Gets or sets the type of the helper object that will be passed to your IToolboxItemDiscovery implementation's constructor.

public:
 property Type ^ HelperObjectType { Type ^ get(); void set(Type ^ value); };
public:
 property Platform::Type ^ HelperObjectType { Platform::Type ^ get(); void set(Platform::Type ^ value); };
public Type HelperObjectType { get; set; }
member this.HelperObjectType : Type with get, set
Public Property HelperObjectType As Type

Property Value

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.

Applies to