ImmutableArray<T>.OfType<TResult> 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.
Filters the elements of this array to those assignable to the specified type.
public:
generic <typename TResult>
System::Collections::Generic::IEnumerable<TResult> ^ OfType();
public System.Collections.Generic.IEnumerable<TResult> OfType<TResult> ();
member this.OfType : unit -> seq<'Result>
Public Function OfType(Of TResult) () As IEnumerable(Of TResult)
Type Parameters
- TResult
The type to filter the elements of the sequence on.
Returns
IEnumerable<TResult>
An IEnumerable that contains elements from the input sequence of type of TResult
.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.