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

适用于

另请参阅