SPClaimProvider.Resolve 方法 (Uri, String[], String)

解析输入。

命名空间:  Microsoft.SharePoint.Administration.Claims
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Function Resolve ( _
    context As Uri, _
    entityTypes As String(), _
    resolveInput As String _
) As PickerEntity()
用法
Dim instance As SPClaimProvider
Dim context As Uri
Dim entityTypes As String()
Dim resolveInput As String
Dim returnValue As PickerEntity()

returnValue = instance.Resolve(context, _
    entityTypes, resolveInput)
public PickerEntity[] Resolve(
    Uri context,
    string[] entityTypes,
    string resolveInput
)

参数

  • context
    类型:System.Uri

    上下文,为 URI。这必须是格式正确的 URI。

  • entityTypes
    类型:[]

    SPProviderHierarchyTree目录树返回**[P:HYPERLINK"mk:@MSITStore:D:\\\\aSDK\\\\SP2010SDK.chm::/html/a4bf54d0-29e5-e5c2-231e-b1b9f4728a7f.htm"Microsoft.SharePoint.WebControls.PickerEntity.EntityType]**实体类型。

返回值

类型:[]
一组的PickerEntity匹配的输入。**[P:HYPERLINK"mk:@MSITStore:D:\\\\aSDK\\\\SP2010SDK.chm::/html/a4bf54d0-29e5-e5c2-231e-b1b9f4728a7f.htm"Microsoft.SharePoint.WebControls.PickerEntity.EntityType]属性值必须位于EntityType()**的结果。

异常

异常 条件
ArgumentNullException

当context或resolveInput空引用(无 在 Visual Basic 中)时引发。

NotImplementedException

falseSupportsResolve时引发。

另请参阅

引用

SPClaimProvider 类

SPClaimProvider 成员

Resolve 重载

Microsoft.SharePoint.Administration.Claims 命名空间