共用方式為


ProvideDependentAssemblyAttribute.PublicKeyToken Property

Gets or sets a 16-character hexadecimal number which is the token part of the strong name of the assembly being redirected.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Property PublicKeyToken As String
public string PublicKeyToken { get; set; }
public:
property String^ PublicKeyToken {
    String^ get ();
    void set (String^ value);
}
member PublicKeyToken : string with get, set
function get PublicKeyToken () : String 
function set PublicKeyToken (value : String)

Property Value

Type: String

Exceptions

Exception Condition
ArgumentException

When this property is set, this exception is thrown if the value of this property is not a valid public key token.

.NET Framework Security

See Also

Reference

ProvideDependentAssemblyAttribute Class

Microsoft.VisualStudio.Shell Namespace