SecurityKeyIdentifier.Find<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 the first occurrence within the entire collection.
public:
generic <typename TClause>
where TClause : System::IdentityModel::Tokens::SecurityKeyIdentifierClause TClause Find();
public TClause Find<TClause> () where TClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause;
member this.Find : unit -> 'Clause (requires 'Clause :> System.IdentityModel.Tokens.SecurityKeyIdentifierClause)
Public Function Find(Of TClause As SecurityKeyIdentifierClause) () As TClause
Type Parameters
- TClause
A SecurityKeyIdentifierClause that represents the type of key identifier clause to search the collection for.
Returns
The first SecurityKeyIdentifierClause in the collection that is of the type specified in the TClause
parameter.
Exceptions
TClause
is null
.
The collection does not contain a key identifier clause of the type specified in the TClause
parameter.