SPClaimProvider.Resolve method (Uri, String[], SPClaim)
會解析的輸入。
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function Resolve ( _
context As Uri, _
entityTypes As String(), _
resolveInput As SPClaim _
) As PickerEntity()
'用途
Dim instance As SPClaimProvider
Dim context As Uri
Dim entityTypes As String()
Dim resolveInput As SPClaim
Dim returnValue As PickerEntity()
returnValue = instance.Resolve(context, _
entityTypes, resolveInput)
public PickerEntity[] Resolve(
Uri context,
string[] entityTypes,
SPClaim resolveInput
)
參數
context
Type: System.Uri為 URI 內容。這必須是格式正確的 URI。
entityTypes
Type: []會傳回SPProviderHierarchyTree樹狀目錄**[P:HYPERLINK"mk:@MSITStore:D:\\\\aSDK\\\\SP2010SDK.chm::/html/a4bf54d0-29e5-e5c2-231e-b1b9f4728a7f.htm"Microsoft.SharePoint.WebControls.PickerEntity.EntityType]**實體類型。如果有傳回a null reference (Nothing in Visual Basic)則所有類型。
resolveInput
Type: Microsoft.SharePoint.Administration.Claims.SPClaim單一宣告,輸入來解析。
傳回值
Type: []
一組PickerEntity比對的輸入。**[P:HYPERLINK"mk:@MSITStore:D:\\\\aSDK\\\\SP2010SDK.chm::/html/a4bf54d0-29e5-e5c2-231e-b1b9f4728a7f.htm"Microsoft.SharePoint.WebControls.PickerEntity.EntityType]屬性值必須位於EntityType()**的結果。
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | 擲回context或時resolveInputa null reference (Nothing in Visual Basic)。 |
NotImplementedException | SupportsResolve時false擲回。 |