共用方式為


SPTrustedClaimTypeInformation.IsKnownClaimValue Method

Returns the value that represents whether the input string is a stored ClaimValue.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function IsKnownClaimValue ( _
    value As String _
) As Boolean
'Usage
Dim instance As SPTrustedClaimTypeInformation
Dim value As String
Dim returnValue As Boolean

returnValue = instance.IsKnownClaimValue(value)
public bool IsKnownClaimValue(
    string value
)

Parameters

  • value
    Type: System.String

    A string that represents a possible ClaimValue.

Return Value

Type: System.Boolean
true if the input string is a stored ClaimValue; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

value is null .

See Also

Reference

SPTrustedClaimTypeInformation Class

SPTrustedClaimTypeInformation Members

Microsoft.SharePoint.Administration.Claims Namespace