SecurityKeyIdentifier.TryFind<TClause>(TClause) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Searches for a key identifier clause of the specified type and returns a value that indicates whether a clause of that type could be found. When a type is found it is returned in the out
parameter.
public:
generic <typename TClause>
where TClause : System::IdentityModel::Tokens::SecurityKeyIdentifierClause bool TryFind([Runtime::InteropServices::Out] TClause % clause);
public bool TryFind<TClause> (out TClause clause) where TClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause;
member this.TryFind : 'Clause -> bool (requires 'Clause :> System.IdentityModel.Tokens.SecurityKeyIdentifierClause)
Public Function TryFind(Of TClause As SecurityKeyIdentifierClause) (ByRef clause As TClause) As Boolean
Type Parameters
- TClause
A SecurityKeyIdentifierClause that represents the type of key identifier clause to search the collection for.
Parameters
- clause
- TClause
When this method returns, contains a SecurityKeyIdentifierClause that is of the type specified in the TClause
parameter when a clause of that type could be found in the collection. This parameter is passed un-initialized.
Returns
true
when a key identifier clause of the type specified in the TClause
parameter exists in the collection; otherwise, false
.
Remarks
When a key identifier clause of the type specified in the TClause
parameter does not exist in the collection, the clause
out parameter is null
.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기