ComponentPickerPropertyPageAttribute Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Atribut ini menambahkan pendaftaran halaman properti untuk pemilih Komponen Misalnya: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0Exp\ComponentPickerPages\My Component Page] @="#13925" "Package"="{B0002DC2-56EE-4931-93F7-70D6E9863940}" "Page"="{0A9F3920-3881-4f50-8986-9EDEC7B33566}" "Sort"=dword:00000014 "AddToMru"=dword:000000000 "ComponentType"=".Net Assembly"
public ref class ComponentPickerPropertyPageAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ComponentPickerPropertyPageAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ComponentPickerPropertyPageAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ComponentPickerPropertyPageAttribute = class
inherit RegistrationAttribute
Public NotInheritable Class ComponentPickerPropertyPageAttribute
Inherits RegistrationAttribute
- Warisan
- Atribut
Keterangan
Contohnya:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0Exp\ComponentPickerPages\My Component Page]
@="#13925"
"Paket"="{B0002DC2-56EE-4931-93F7-70D6E9863940}"
"Page"="{0A9F3920-3881-4f50-8986-9EDEC7B33566}"
"Sortir"=dword:00000014
"AddToMru"=dword:000000000
"ComponentType"=".NET Assembly"
Konstruktor
| ComponentPickerPropertyPageAttribute(Type, Type, String) |
Membuat atribut pendaftaran halaman ComponentPicker baru untuk mendaftarkan halaman properti pemilih komponen kustom. |
Properti
| AddToMru |
Mendapatkan atau Mengatur nilai AddToMru |
| ComponentType |
Dapatkan atau atur nilai Jenis Komponen. |
| DefaultPageNameValue |
dapatkan/atur nilai nama halaman default |
| PacakgeGuid |
Dapatkan Pacakge Guid |
| PageGuid |
Dapatkan Guid yang mewakili halaman properti |
| PageRegKeyName |
Dapatkan nama kunci reg halaman properti. |
| SortOrder |
Mendapatkan atau Mengatur nilai Urutkan reg |
| 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) |
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. Konteks berisi lokasi tempat informasi pendaftaran harus ditempatkan. Ini juga berisi informasi lain seperti jenis yang didaftarkan dan informasi jalur. |
| Unregister(RegistrationAttribute+RegistrationContext) |
Membatalkan pendaftaran halaman properti |