Bagikan melalui


ProvideStaticToolboxItemAttribute Kelas

Definisi

Atribut ini mendeklarasikan item kotak alat yang akan dibaca kotak alat dari registri. Lihat komentar di IVsToolboxItemProvider untuk detail selengkapnya.

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
Warisan
ProvideStaticToolboxItemAttribute
Atribut

Konstruktor

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

Menginisialisasi instans ProvideStaticToolboxItemAttribute baru dengan data yang ditentukan.

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

Menginisialisasi instans ProvideStaticToolboxItemAttribute baru dengan metadata multitarget.

Properti

AssemblyName

Mendapatkan nama assembly.

BitmapIndex

Mendapatkan indeks bitmap.

BitmapResourceId

Mendapatkan ID sumber daya bitmap.

Formats

Mendapatkan format.

GroupId

Mendapatkan ID grup.

HelpKeyword

Mendapatkan kata kunci bantuan.

Id

Mendapatkan ID.

Index

Mendapatkan indeks.

Name

Mendapatkan nama.

SupportedFrameworks

Mendapatkan kerangka kerja yang didukung.

TargetedItemProvider

Mendapatkan penyedia item yang ditargetkan.

TipComponentType

Mendapatkan jenis komponen tip.

TipDescription

Mendapatkan deskripsi tip.

TipPublisher

Mendapatkan penerbit tip.

TipTitle

Mendapatkan judul tip.

TipVersion

Mendapatkan versi tip.

TransparentColor

Mendapatkan warna.

TypeId

Ambil alih properti TypeID untuk memungkinkan RegistrationAttribute memperoleh kelas untuk bekerja dengan System.ComponentModel.TypeDescriptor.GetAttributes(...). Atribut yang berasal dari atribut ini harus mengambil alih properti ini hanya jika membutuhkan kontrol yang lebih baik pada instans yang dapat diterapkan ke kelas.

(Diperoleh dari RegistrationAttribute)
TypeName

Mendapatkan nama jenis.

UseProjectTargetFrameworkVersionInTooltip

Menentukan apakah akan menggunakan versi kerangka kerja target di tipsalat.

Metode

GetPackageRegKeyPath(Guid)

Mendapatkan jalur registri (relatif terhadap akar registri aplikasi) dari VSPackage.

(Diperoleh dari RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Dipanggil untuk mendaftarkan atribut ini dengan konteks yang diberikan.

Unregister(RegistrationAttribute+RegistrationContext)

Menghapus data pendaftaran.

Berlaku untuk