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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.