共用方式為


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

See Also

Reference

ProvideToolboxItemDiscoveryAttribute Class

Microsoft.VisualStudio.Shell Namespace