SPClaimProvider.Resolve method (Uri, String[], String)
Resolves the input.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function Resolve ( _
context As Uri, _
entityTypes As String(), _
resolveInput As String _
) As PickerEntity()
'Usage
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
)
Parameters
context
Type: System.UriThe context, as a URI. This must be a properly formatted URI.
entityTypes
Type: []The [P:HYPERLINK"mk:@MSITStore:D:\\\\aSDK\\\\SP2010SDK.chm::/html/a4bf54d0-29e5-e5c2-231e-b1b9f4728a7f.htm"Microsoft.SharePoint.WebControls.PickerEntity.EntityType] entity types that are returned on the SPProviderHierarchyTree tree.
resolveInput
Type: System.StringThe input that is currently being resolved.
Return value
Type: []
A set of PickerEntity matching the input. The [P:HYPERLINK"mk:@MSITStore:D:\\\\aSDK\\\\SP2010SDK.chm::/html/a4bf54d0-29e5-e5c2-231e-b1b9f4728a7f.htm"Microsoft.SharePoint.WebControls.PickerEntity.EntityType] property value must be found in the result of EntityType().
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when context or resolveInputis a null reference (Nothing in Visual Basic). |
NotImplementedException | Thrown when SupportsResolve is false. |