EditorFactoryNotifyForProjectAttribute 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.
Projenin IVsEditorFactoryNotify Bu türden bir öğe eklendiğinde veya yeniden adlandırıldığında Yöntemler çağırabilmesi Için proje sistemi için bir dosya uzantısı ekler.
public ref class EditorFactoryNotifyForProjectAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class EditorFactoryNotifyForProjectAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class EditorFactoryNotifyForProjectAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type EditorFactoryNotifyForProjectAttribute = class
inherit RegistrationAttribute
Public NotInheritable Class EditorFactoryNotifyForProjectAttribute
Inherits RegistrationAttribute
- Devralma
- Öznitelikler
Açıklamalar
Örneğin: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Projects\ {F184B08F-C81C-45F6-A57F-5ABD9991F28F} \FileExtensions \. eklentisi] "EditorFactoryNotify" = "{FA3CD31E-987B-443A-9B81-186104E8DAC1}"
Oluşturucular
| EditorFactoryNotifyForProjectAttribute(Object, String, Object) |
Bir EditorFactoryNotifyForProjectAttribute dosya uzantısını proje ile kaydeden sınıfının yeni bir örneğini başlatır. |
Özellikler
| FactoryType |
Düzenleyici fabrikası türünü temsil eden nesneyi alır. |
| FileExtension |
Bu görünümü destekleyen XML dosyalarının uzantısını alır. |
| ProjectType |
Proje türünü temsil eden nesneyi alır. |
| TypeId |
Bu özniteliğin geçerli örneğini alır. (Devralındığı yer: RegistrationAttribute) |
Yöntemler
| GetPackageRegKeyPath(Guid) |
VSPackage 'ın (uygulamanın kayıt defteri köküne göre) kayıt defteri yolunu alır. (Devralındığı yer: RegistrationAttribute) |
| Register(RegistrationAttribute+RegistrationContext) |
Bu özniteliği verilen bağlamla kaydeder. |
| Unregister(RegistrationAttribute+RegistrationContext) |
Bu özniteliğin kaydını siler. |