TnefWriter Members

The TnefWriter class produces a TNEF stream by writing attributes and properties.

The following tables list the members exposed by the TnefWriter type.

Public Constructors

  Name Description
TnefWriter Overloaded. The TnefWriter constructor overloads create new TnefWriter objects.

Top

Public Properties

  Name Description
Aa562781.pubproperty(en-us,EXCHG.80).gif MessageCodePage The MessageCodePage property returns an integer representing the code page used when writing data to the Stream object that this TnefWriter object owns.

Top

Public Methods

(see also Protected Methods )

  Name Description
Aa562781.pubmethod(en-us,EXCHG.80).gif Close The Close method closes this TnefWriter object and the stream that it owns.
Aa562781.pubmethod(en-us,EXCHG.80).gif Equals  Overloaded. (inherited from Object )
Aa562781.pubmethod(en-us,EXCHG.80).gif Flush The Flush method flushes any buffered data to the stream that this TnefWriter object owns.
Aa562781.pubmethod(en-us,EXCHG.80).gif GetEmbeddedMessageWriter Overloaded. The GetEmbeddedMessageWriter method overloads return TnefWriter objects to use for writing embedded messages.
Aa562781.pubmethod(en-us,EXCHG.80).gif GetHashCode  (inherited from Object )
Aa562781.pubmethod(en-us,EXCHG.80).gif GetRawPropertyValueWriteStream The GetRawPropertyValueWriteStream method returns a stream that can be used to write raw data to the property value.
Aa562781.pubmethod(en-us,EXCHG.80).gif GetType  (inherited from Object )
Aa562781.pubmethod(en-us,EXCHG.80).gifAa562781.static(en-us,EXCHG.80).gif ReferenceEquals  (inherited from Object )
Aa562781.pubmethod(en-us,EXCHG.80).gif SetMessageCodePage The SetMessageCodePage method sets the code page used to write to the TNEF stream that this TnefWriter object owns.
Aa562781.pubmethod(en-us,EXCHG.80).gif StartAttribute The StartAttribute method starts a new attribute in the stream that this TnefWriter object owns.
Aa562781.pubmethod(en-us,EXCHG.80).gif StartProperty Overloaded. The StartProperty method overloads start properties in the TNEF stream that this TnefWriter object owns.
Aa562781.pubmethod(en-us,EXCHG.80).gif StartPropertyValue The StartPropertyValue method starts a property value.
Aa562781.pubmethod(en-us,EXCHG.80).gif StartRow The StartRow method starts a new row in a RecipientTable attribute.
Aa562781.pubmethod(en-us,EXCHG.80).gif ToString  (inherited from Object )
Aa562781.pubmethod(en-us,EXCHG.80).gif WriteAllProperties The WriteAllProperties method writes all properties in the TnefPropertyReader parameter reader to the output stream owned by this TnefWriter object.
Aa562781.pubmethod(en-us,EXCHG.80).gif WriteAttribute The WriteAttribute method writes the current attribute in the TnefReader parameter reader to the output stream owned by this TnefWriter object.
Aa562781.pubmethod(en-us,EXCHG.80).gif WriteAttributeRawValue The WriteAttributeRawValue method reads a raw value from the byte parameter and writes it to the output stream owned by this TnefWriter object.
Aa562781.pubmethod(en-us,EXCHG.80).gif WriteOemCodePage The WriteOemCodePage method writes a standard TNEF OemCodePage attribute.
Aa562781.pubmethod(en-us,EXCHG.80).gif WriteProperty Overloaded. The WriteProperty method overloads write properties to the output stream that this TnefWriter object owns.
Aa562781.pubmethod(en-us,EXCHG.80).gif WritePropertyRawValue The WritePropertyRawValue method writes a raw property value from a byte array.
Aa562781.pubmethod(en-us,EXCHG.80).gif WritePropertyTextValue The WritePropertyTextValue method reads a text property value from a character array and writes it to the stream that this TnefWriter object owns.
Aa562781.pubmethod(en-us,EXCHG.80).gif WritePropertyValue Overloaded. The WritePropertyValue method overloads write properties to the TNEF stream that this TnefWriter object owns.
Aa562781.pubmethod(en-us,EXCHG.80).gif WriteTnefVersion The WriteTnefVersion method writes the standard preamble TNEF version parameter.

Top

Protected Methods

  Name Description
Aa562781.protmethod(en-us,EXCHG.80).gif Dispose Releases the unmanaged resources used by the TnefWriter and optionally releases the managed resources.
Aa562781.protmethod(en-us,EXCHG.80).gif Finalize  (inherited from Object )
Aa562781.protmethod(en-us,EXCHG.80).gif MemberwiseClone  (inherited from Object )

Top

Explicit Interface Implementations

  Name Description
System.IDisposable.Dispose Releases all resources used by the TnefWriter.

Top