Partager via


MimeOutputFilter.FilterPart Method

The FilterPart method is called before a part boundary is written.

Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Overridable Function FilterPart ( _
    part As MimePart, _
    stream As Stream _
) As Boolean
public virtual bool FilterPart (
    MimePart part,
    Stream stream
)
public:
virtual bool FilterPart (
    MimePart^ part, 
    Stream^ stream
)
public boolean FilterPart (
    MimePart part, 
    Stream stream
)
public function FilterPart (
    part : MimePart, 
    stream : Stream
) : boolean

Parameters

  • stream
    The Stream to write to.

Return Value

Set the return value to true to suppress the writing of part; set the return value to false to write part.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003