Udostępnij przez


ProvideStaticToolboxItemAttribute Klasa

Definicja

Ten atrybut deklaruje element przybornika, który przybornik odczytuje z rejestru. Więcej szczegółów można znaleźć w komentarzach IVsToolboxItemProvider .

public ref class ProvideStaticToolboxItemAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideStaticToolboxItemAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideStaticToolboxItemAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideStaticToolboxItemAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideStaticToolboxItemAttribute
Inherits RegistrationAttribute
Dziedziczenie
ProvideStaticToolboxItemAttribute
Atrybuty

Konstruktory

ProvideStaticToolboxItemAttribute(String, String, String, String, String, String, Int32)

Inicjuje nowe wystąpienie z ProvideStaticToolboxItemAttribute określonymi danymi.

ProvideStaticToolboxItemAttribute(String, String, String, String, String, String, Int32, String, String, String, String)

Inicjuje ProvideStaticToolboxItemAttribute nowe wystąpienie z metadanymi wielotargetowania.

Właściwości

AssemblyName

Pobiera nazwę zestawu.

BitmapIndex

Pobiera indeks mapy bitowej.

BitmapResourceId

Pobiera identyfikator zasobu mapy bitowej.

Formats

Pobiera formaty.

GroupId

Pobiera identyfikator grupy.

HelpKeyword

Pobiera słowo kluczowe Pomocy.

Id

Pobiera identyfikator.

Index

Pobiera indeks.

Name

Pobiera nazwę.

SupportedFrameworks

Pobiera obsługiwane platformy.

TargetedItemProvider

Pobiera dostawcę elementów docelowych.

TipComponentType

Pobiera typ składnika porady.

TipDescription

Pobiera opis porady.

TipPublisher

Pobiera wydawcę porad.

TipTitle

Pobiera tytuł porady.

TipVersion

Pobiera wersję porad.

TransparentColor

Pobiera kolor.

TypeId

Zastąp właściwość TypeID, aby umożliwić klasom pochodnym RegistrationAttribute pracować z elementem System.ComponentModel.TypeDescriptor.GetAttributes(...). Atrybut pochodzący z tej właściwości będzie musiał zastąpić tę właściwość tylko wtedy, gdy potrzebuje lepszej kontroli nad wystąpieniami, które można zastosować do klasy.

(Odziedziczone po RegistrationAttribute)
TypeName

Pobiera nazwę typu.

UseProjectTargetFrameworkVersionInTooltip

Określa, czy używać docelowej wersji platformy w etykietce narzędzia.

Metody

GetPackageRegKeyPath(Guid)

Pobiera ścieżkę rejestru (względem katalogu głównego rejestru aplikacji) pakietu VSPackage.

(Odziedziczone po RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Wywoływana w celu zarejestrowania tego atrybutu w danym kontekście.

Unregister(RegistrationAttribute+RegistrationContext)

Usuwa dane rejestracji.

Dotyczy