共用方式為


Principal.ContextType 屬性

定義

取得內容類型列舉值,這個值指定與這個主體建立關聯的主體內容類型。

public:
 property System::DirectoryServices::AccountManagement::ContextType ContextType { System::DirectoryServices::AccountManagement::ContextType get(); };
public System.DirectoryServices.AccountManagement.ContextType ContextType { get; }
public System.DirectoryServices.AccountManagement.ContextType ContextType { [System.Security.SecurityCritical] get; }
member this.ContextType : System.DirectoryServices.AccountManagement.ContextType
[<get: System.Security.SecurityCritical>]
member this.ContextType : System.DirectoryServices.AccountManagement.ContextType
Public ReadOnly Property ContextType As ContextType

屬性值

ContextType 列舉值,指定內容型別。

屬性

備註

內容類型是在建構函式中的 PrincipalContext 主體內容對象上設定。 儲存在此類別中的值會與 屬性相關聯 ContextType

適用於