返回的值,该值表示是否输入的字符串的已存储的ClaimValue。
命名空间: Microsoft.SharePoint.Administration.Claims
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function IsKnownClaimValue ( _
value As String _
) As Boolean
用法
Dim instance As SPTrustedClaimTypeInformation
Dim value As String
Dim returnValue As Boolean
returnValue = instance.IsKnownClaimValue(value)
public bool IsKnownClaimValue(
string value
)
参数
value
类型:System.String一个字符串,表示可能的ClaimValue。
返回值
类型:System.Boolean
true如果输入的字符串的存储的ClaimValue;否则为false。
异常
| 异常 | 条件 |
|---|---|
| ArgumentNullException | value是 null 。 |
另请参阅
引用
SPTrustedClaimTypeInformation 类