DirectoryEntry.InvokeGet(String) 方法

定義

從原生 Active Directory 網域服務物件取得屬性。

public:
 System::Object ^ InvokeGet(System::String ^ propertyName);
public object InvokeGet (string propertyName);
public object? InvokeGet (string propertyName);
[System.Runtime.InteropServices.ComVisible(false)]
public object InvokeGet (string propertyName);
member this.InvokeGet : string -> obj
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.InvokeGet : string -> obj
Public Function InvokeGet (propertyName As String) As Object

參數

propertyName
String

要取得的屬性名稱。

傳回

Object

表示所要求之屬性的物件。

屬性

備註

不應該使用這個方法。 屬性 Properties 應該用來存取 物件的屬性 DirectoryEntry

適用於

另請參閱