Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Determines whether there is at least one element for which a given condition is true.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Function Exists ( _
match As Predicate(Of T) _
) As Boolean
public bool Exists(
Predicate<T> match
)
public:
bool Exists(
Predicate<T>^ match
)
member Exists :
match:Predicate<'T> -> bool
public function Exists(
match : Predicate<T>
) : boolean
Parameters
match
Type: Predicate<T>The condition to check.
Return Value
Type: Boolean
true if there is an element in the collection for which </w:t></w:r><w:r><w:rPr><w:rStyle w:val="ParameterReference"/></w:rPr><w:t>match</w:t></w:r><w:r><w:t> parameter returns true; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.