X509Certificate.Subject 屬性

定義

取得憑證的主旨辨別名稱。Gets the subject distinguished name from the certificate.

public:
 property System::String ^ Subject { System::String ^ get(); };
public string Subject { get; }
member this.Subject : string
Public ReadOnly Property Subject As String

屬性值

憑證的主旨辨別名稱。The subject distinguished name from the certificate.

例外狀況

憑證控制代碼無效。The certificate handle is invalid.

適用於