共用方式為


ProvideComponentDiagnosticsAttribute 類別

定義

註冊元件診斷提供者及其相關聯的檢視。

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

建構函式

ProvideComponentDiagnosticsAttribute(Type, String)

套用至封裝時,使用預設檢視將封裝註冊為元件診斷提供者。

ProvideComponentDiagnosticsAttribute(Type, String, String, UInt32)

套用至封裝時,使用自定義檢視將封裝註冊為元件診斷提供者。

屬性

ExtensionProvidersKey

宣告延伸模組提供者之登錄中的路徑。 在衍生類別中覆寫。

(繼承來源 ExtensionPointRegistrationAttribute)
ExtensionProviderType

擴充提供者的類型 (實作的介面)

(繼承來源 ExtensionPointRegistrationAttribute)
IsDefaultView

指出提供者是否使用預設的一般用途檢視。 如果為 false,提供者會指定自己的自定義檢視。

Name

擴充點提供者的人類可讀取名稱。這可能是非本地化字串或以 『@』 開頭的十進位資源標識碼,指出受控資源。 例如 “@1234” '#' 前置詞可用來提示原生資源。

(繼承來源 ExtensionPointRegistrationAttribute)
Provider

提供者的 GUID

(繼承來源 ExtensionPointRegistrationAttribute)
ProviderGuidString

提供者的 GUID 以字串表示

(繼承來源 ExtensionPointRegistrationAttribute)
ProviderType

此封裝中實作相關聯擴充點的類型

(繼承來源 ExtensionPointRegistrationAttribute)
TypeId

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

(繼承來源 RegistrationAttribute)
Version

提供者的數據模型版本

View

此提供者檢視之UI處理站內的專案標識碼

ViewFactory

包含此提供者檢視之UI Factory的 GUID

方法

GetPackageRegKeyPath(Guid)

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

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

向指定的內容註冊此屬性。

Unregister(RegistrationAttribute+RegistrationContext)

取消註冊此擴充點提供者規格。

(繼承來源 ExtensionPointRegistrationAttribute)

適用於