PowerTCP Mail for .NET
Filter Method




Type to filter on.
If true, searches embedded parts; otherwise only the parts at this level are searched.
If true, subclasses are included.
Returns a ReadOnlyCollection that contains only parts that are or are derived from the specified type.
Syntax
Public Function Filter( _
   ByVal type As Type, _
   ByVal recurse As Boolean, _
   ByVal includeSubClasses As Boolean _
) As ReadOnlyCollection(Of Part)
Dim instance As MultipartContent
Dim type As Type
Dim recurse As Boolean
Dim includeSubClasses As Boolean
Dim value As ReadOnlyCollection(Of Part)
 
value = instance.Filter(type, recurse, includeSubClasses)
public ReadOnlyCollection<Part> Filter( 
   Type type,
   bool recurse,
   bool includeSubClasses
)
public: ReadOnlyCollection<Part*>* Filter( 
   Type* type,
   bool recurse,
   bool includeSubClasses
) 
public:
ReadOnlyCollection<Part^>^ Filter( 
   Type^ type,
   bool recurse,
   bool includeSubClasses
) 

Parameters

type
Type to filter on.
recurse
If true, searches embedded parts; otherwise only the parts at this level are searched.
includeSubClasses
If true, subclasses are included.

Return Value

A ReadOnlyCollection containing parts that are or are derived from the specified type.
See Also

Reference

MultipartContent Class
MultipartContent Members


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic