共用方式為


ProvideEditorFactoryAttribute 類別

定義

這個屬性會宣告 VSPackage 提供編輯器處理站。

public ref class ProvideEditorFactoryAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideEditorFactoryAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideEditorFactoryAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideEditorFactoryAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideEditorFactoryAttribute
Inherits RegistrationAttribute
繼承
ProvideEditorFactoryAttribute
屬性

備註

多個編輯器處理站可以與相同的 VSPackage 相關聯。

建構函式

ProvideEditorFactoryAttribute(Type, Int16)

這個建構函式會建立新的 ProvideEditorFactoryAttribute 物件。

ProvideEditorFactoryAttribute(Type, Int16, Boolean)

這個屬性會宣告 VSPackage 提供編輯器處理站。

屬性

CommonPhysicalViewAttributes

取得或設定編輯器所支援之實體檢視的預設值 __VSPHYSICALVIEWATTRIBUTES 。 PhysicalViewAttributes 子索引鍵中未列出的任何實體檢視都會使用這些屬性。

DeferUntilIntellisenseIsReady

這個屬性會宣告 VSPackage 提供編輯器處理站。

FactoryType

取得編輯器 Factory 類型。

NameResourceID

取得資源標識碼。

TrustLevel

取得或設定編輯器的信任層級。

TypeId

覆寫 TypeID 屬性,讓 RegistrationAttribute 衍生類別搭配 System.ComponentModel.TypeDescriptor.GetAttributes (...) 。衍生自這個屬性的屬性只有在需要對可套用至類別的實例有更好的控制權時,才必須覆寫此屬性。

(繼承來源 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

取得相對於 VSPackage 之應用程式) 之登錄根目錄的登錄路徑 (。

(繼承來源 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

呼叫以註冊這個具有指定內容的屬性。

Unregister(RegistrationAttribute+RegistrationContext)

呼叫 以取消註冊此屬性與指定內容。

適用於