ProvideStaticToolboxItemAttribute Class
This attribute declares a toolbox item which the toolbox will read from the registry. See comments on IVsToolboxItemProvider in vsshell100.idl for more details.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'宣言
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := True, AllowMultiple := True)> _
Public NotInheritable Class ProvideStaticToolboxItemAttribute _
Inherits RegistrationAttribute
'使用
Dim instance As ProvideStaticToolboxItemAttribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = true)]
public sealed class ProvideStaticToolboxItemAttribute : RegistrationAttribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = true, AllowMultiple = true)]
public ref class ProvideStaticToolboxItemAttribute sealed : public RegistrationAttribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = true)>]
type ProvideStaticToolboxItemAttribute =
class
inherit RegistrationAttribute
end
public final class ProvideStaticToolboxItemAttribute extends RegistrationAttribute
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.VisualStudio.Shell.RegistrationAttribute
Microsoft.VisualStudio.Shell.ProvideStaticToolboxItemAttribute
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.