Share via


ProvideDependentAssemblyAttribute 類別

定義

產生 dependentAssembly 專案之屬性的父類別。

public ref class ProvideDependentAssemblyAttribute abstract : Microsoft::VisualStudio::Shell::RegistrationAttribute
[Windows::Foundation::Metadata::WebHostHidden]
public ref class ProvideDependentAssemblyAttribute abstract : Microsoft::VisualStudio::Shell::RegistrationAttribute
public abstract class ProvideDependentAssemblyAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type ProvideDependentAssemblyAttribute = class
    inherit RegistrationAttribute
Public MustInherit Class ProvideDependentAssemblyAttribute
Inherits RegistrationAttribute
繼承
ProvideDependentAssemblyAttribute
衍生

建構函式

ProvideDependentAssemblyAttribute()

初始化 ProvideDependentAssemblyAttribute 類別的新執行個體。

欄位

_guidUpdateNeeded

指出是否需要 GUID 更新。 如果 true為 ,則需要 GUID 更新。 如果 false (預設) ,則不需要更新。

屬性

AssemblyName

目標元件的名稱。

CodeBase

$PackageFolder$ 的相對路徑,或以環境變數替代 (格式為根的絕對路徑:%variable%) 。

Culture

指定組件語言及國家/地區的字串。

CurrentAssembly

取得或設定產生的 dependentAssembly 登錄專案所參考的元件。

Guid

這個屬性實例的標識碼。

PublicKeyToken

16 個字元十六進位數位,這是要重新導向之元件強名稱的令牌部分。

TypeId

覆寫 TypeID 屬性,讓 RegistrationAttribute 衍生類別使用 System.ComponentModel.TypeDescriptor.GetAttributes (...) 。衍生自這個屬性的屬性必須覆寫此屬性,只有在實例上需要更好的控件,才能套用至類別。

(繼承來源 RegistrationAttribute)

方法

FormatPublicKeyToken(Byte[])

將二進位公鑰令牌格式化為十六進位字串。

GetGuidHashString()

取得將哈希為 屬性標識碼的字串。

GetPackageRegKeyPath(Guid)

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

(繼承來源 RegistrationAttribute)
GetPathToKey()

取得金鑰的路徑是將會註冊此屬性的值。

Register(RegistrationAttribute+RegistrationContext)

向指定的內容註冊這個屬性。

SetValues(RegistrationAttribute+Key)

在指定的索引鍵中設定此屬性所處理的值。

TryParseVersion(String, Version)

嘗試將字串剖析成 Version。 不同於 Version.TryParse,此方法可確保輸入包含四個數位,而不是考慮建置和修訂編號為選擇性。

Unregister(RegistrationAttribute+RegistrationContext)

取消註冊這個屬性。

UpdateAssemblyInformation()

更新未從套用此屬性的元件提供的所有資訊。

ValidateAttributeInformation()

驗證我們有所有必要的資訊。

適用於