語言

ProvideOptionDialogPageAttribute 類別

定義

用來註冊選項頁面之所有屬性的基類。

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

建構函式

ProvideOptionDialogPageAttribute(Type, String)

為指定的頁面初始化 的新實例 ProvideOptionDialogPageAttribute 。

屬性

PageNameResourceId

取得頁面的名稱資源識別碼。

PageType

取得頁面的類型。

TypeId

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

(繼承來源 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

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

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

當外部註冊工具如 regpkg.exe 呼叫時,向指定的內容註冊此 VSPackage。 如需詳細資訊,請參閱註冊 VSPackages。

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

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

(繼承來源 RegistrationAttribute)

適用於