RegisterExtenderAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
RegisterExtenderAttribute has been deprecated. Please use ProvideExtenderAttribute instead.
這個屬性會將封裝註冊為擴充器。 傳入的 GUID 會決定要擴充的內容。 封裝上的屬性不會控制封裝的行為,但註冊工具可以使用它們向Visual Studio註冊適當的資訊。
public ref class RegisterExtenderAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class RegisterExtenderAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
[System.Obsolete("RegisterExtenderAttribute has been deprecated. Please use ProvideExtenderAttribute instead.")]
public sealed class RegisterExtenderAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
[<System.Obsolete("RegisterExtenderAttribute has been deprecated. Please use ProvideExtenderAttribute instead.")>]
type RegisterExtenderAttribute = class
inherit RegistrationAttribute
Public NotInheritable Class RegisterExtenderAttribute
Inherits RegistrationAttribute
- 繼承
- 屬性
建構函式
RegisterExtenderAttribute(String, String, String) |
已淘汰.
建立新的 RegisterExtenderAttribute。 |
屬性
ExtendeeCatId |
已淘汰.
要擴充之專案的 CatID。 |
Extender |
已淘汰.
擴充器的 Guid。 |
ExtenderName |
已淘汰.
Extender 的名稱。 |
TypeId |
已淘汰.
覆寫 TypeID 屬性,讓 RegistrationAttribute 衍生類別使用 System.ComponentModel.TypeDescriptor.GetAttributes (...) 。衍生自這個屬性的屬性必須覆寫此屬性,只有在實例上需要更好的控件,才能套用至類別。 (繼承來源 RegistrationAttribute) |
方法
GetPackageRegKeyPath(Guid) |
已淘汰.
取得相對於 VSPackage 應用程式) 之登錄根目錄的登錄路徑 (。 (繼承來源 RegistrationAttribute) |
Register(RegistrationAttribute+RegistrationContext) |
已淘汰.
呼叫以註冊這個具有指定內容的屬性。 內容,其中包含用來放置註冊資訊的位置。 它也包含註冊的類型,以及路徑資訊。 |
Unregister(RegistrationAttribute+RegistrationContext) |
已淘汰.
取消註冊此擴充器規格。 |