RegisterAdditionalEditorExtensionAttribute Sınıf
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Önemli
Bu API, CLS uyumlu değildir.
Başka hiçbir şey değiştirmeden mevcut düzenleyicilere ek dosya uzantısı işlemesi eklemenin bir yolunu sağlamak için öznitelik sınıfı
public ref class RegisterAdditionalEditorExtensionAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
[System.CLSCompliant(false)]
public sealed class RegisterAdditionalEditorExtensionAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class RegisterAdditionalEditorExtensionAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
[<System.CLSCompliant(false)>]
type RegisterAdditionalEditorExtensionAttribute = class
inherit RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type RegisterAdditionalEditorExtensionAttribute = class
inherit RegistrationAttribute
Public NotInheritable Class RegisterAdditionalEditorExtensionAttribute
Inherits RegistrationAttribute
- Devralma
- Öznitelikler
Oluşturucular
| RegisterAdditionalEditorExtensionAttribute(Object, String, Int32) |
Yeni bir RegisterAdditionalEditorExtensionAttribute oluşturur. |
Özellikler
| Extension |
Kaydedilecek dosya uzantısı. |
| Factory |
Kaydedilecek düzenleyici fabrikasını tanımlayan guid. |
| Priority |
Kaydedilen uzantı için bu düzenleyicinin önceliği. Daha büyük değerler daha yüksek düzenleyici önceliğini gösterir. |
| TypeId |
RegistrationAttribute türetilmiş sınıflarının System.ComponentModel.TypeDescriptor.GetAttributes(...) ile çalışmasına izin vermek için TypeID özelliğini geçersiz kılın. Bu özellikten türetilen bir özniteliğin, yalnızca bir sınıfa uygulanabilecek örnekler üzerinde daha iyi bir denetime ihtiyacı varsa bu özelliği geçersiz kılması gerekir. (Devralındığı yer: RegistrationAttribute) |
Yöntemler
| GetPackageRegKeyPath(Guid) |
VSPackage'ın kayıt defteri yolunu (uygulamanın kayıt defteri köküne göre) alır. (Devralındığı yer: RegistrationAttribute) |
| Register(RegistrationAttribute+RegistrationContext) |
Ek düzenleyiciyi kaydedin. |
| Unregister(RegistrationAttribute+RegistrationContext) |
Düzenleyicinin kaydını kaldırma |