Principal.ExtensionGet(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索扩展类对象的属性。
protected:
cli::array <System::Object ^> ^ ExtensionGet(System::String ^ attribute);
protected object[] ExtensionGet (string attribute);
[System.Security.SecurityCritical]
protected object[] ExtensionGet (string attribute);
member this.ExtensionGet : string -> obj[]
[<System.Security.SecurityCritical>]
member this.ExtensionGet : string -> obj[]
Protected Function ExtensionGet (attribute As String) As Object()
参数
- attribute
- String
要检索的属性的名称。
返回
Object[]
返回对象数组,如果不存在具有该名称的属性,则返回 null
。 有关使用此函数的示例,请参阅 System.DirectoryServices.AccountManagement 主体扩展 。
- 属性
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈