共用方式為


StrongNameIdentityPermission.PublicKey 屬性

定義

取得或設定定義強式名稱識別命名空間的公開金鑰 Blob。

public:
 property System::Security::Permissions::StrongNamePublicKeyBlob ^ PublicKey { System::Security::Permissions::StrongNamePublicKeyBlob ^ get(); void set(System::Security::Permissions::StrongNamePublicKeyBlob ^ value); };
public System.Security.Permissions.StrongNamePublicKeyBlob PublicKey { get; set; }
member this.PublicKey : System.Security.Permissions.StrongNamePublicKeyBlob with get, set
Public Property PublicKey As StrongNamePublicKeyBlob

屬性值

包含識別公開金鑰的 StrongNamePublicKeyBlob ,或如果沒有金鑰,則為 null

例外狀況

屬性值設為 null

無法擷取屬性值,因為它包含模稜兩可的身分識別。

適用於