TnefWriter members
The TnefWriter class produces a TNEF stream by writing attributes and properties.
The TnefWriter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TnefWriter(Stream, Int16) | The TnefWriter constructor creates a new TnefWriter object with an attachment key specified by the attachmentKey parameter for output to the Stream parameter outputStream. | |
TnefWriter(Stream, Int16, Int32) | The TnefWriter constructor creates a new TnefWriter object. | |
TnefWriter(Stream, Int16, Int32, TnefWriterFlags) | The TnefWriter constructor creates a new TnefWriter object. |
Top
Properties
Name | Description | |
---|---|---|
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
Methods
Name | Description | |
---|---|---|
Close | The Close method closes this TnefWriter object and the stream that it owns. | |
Dispose() | Releases resources used by the current instance of the TnefWriter class. | |
Dispose(Boolean) | Called by the Dispose() and Finalize() methods to release the managed and unmanaged resources used by the current instance of the TnefWriter class. | |
Flush | The Flush method flushes any buffered data to the stream that this TnefWriter object owns. | |
GetEmbeddedMessageWriter() | The GetEmbeddedMessageWriter method returns a TnefWriter object that can be used to write an embedded message. | |
GetEmbeddedMessageWriter(Int32) | The GetEmbeddedMessageWriter method returns a TnefWriter object that can be used to write an embedded message using the codepage specified by the messageCodePage parameter. | |
GetRawPropertyValueWriteStream | The GetRawPropertyValueWriteStream method returns a stream that can be used to write raw data to the property value. | |
SetMessageCodePage | The SetMessageCodePage method sets the code page used to write to the TNEF stream that this TnefWriter object owns. | |
StartAttribute | The StartAttribute method starts a new attribute in the stream that this TnefWriter object owns. | |
StartProperty(TnefPropertyTag) | The StartProperty method starts the property specified by the tag parameter in the TNEF stream that this TnefWriter object owns. | |
StartProperty(TnefPropertyTag, Guid, Int32) | The StartProperty method starts a named property. | |
StartProperty(TnefPropertyTag, Guid, String) | The StartProperty method starts a named property in the current attribute or row. | |
StartPropertyValue | The StartPropertyValue method starts a property value. | |
StartRow | The StartRow method starts a new row in a RecipientTable attribute. | |
WriteAllProperties | The WriteAllProperties method writes all properties in the TnefPropertyReader parameter reader to the output stream owned by this TnefWriter object. | |
WriteAttribute | The WriteAttribute method writes the current attribute in the TnefReader parameter reader to the output stream owned by this TnefWriter object. | |
WriteAttributeRawValue | The WriteAttributeRawValue method reads a raw value from the byte parameter and writes it to the output stream owned by this TnefWriter object. | |
WriteOemCodePage | The WriteOemCodePage method writes a standard TNEF OemCodePage attribute. | |
WriteProperty(TnefPropertyReader) | The WriteProperty method reads the current property from the TnefPropertyReader parameter propertyReader and writes it to the output stream that this TnefWriter object owns. | |
WriteProperty(TnefPropertyTag, Boolean) | The WriteProperty method writes a property identified by the tag parameter with the Boolean value specified by the value parameter. | |
WriteProperty(TnefPropertyTag, []) | The WriteProperty method writes a property identified by the tag parameter with the raw value specified by the value parameter. | |
WriteProperty(TnefPropertyTag, DateTime) | The WriteProperty method writes a property identified by the tag parameter with the DateTime value specified by the value parameter. | |
WriteProperty(TnefPropertyTag, Double) | The WriteProperty method writes a property identified by the tag parameter with the double value specified by the value parameter. | |
WriteProperty(TnefPropertyTag, Guid) | The WriteProperty method writes a property identified by the tag parameter with the GUID value specified by the value parameter. | |
WriteProperty(TnefPropertyTag, Int16) | The WriteProperty method writes a property identified by the tag parameter with the short integer value specified by the value parameter. | |
WriteProperty(TnefPropertyTag, Int32) | The WriteProperty method writes a property identified by the tag parameter with the integer value specified by the value parameter. | |
WriteProperty(TnefPropertyTag, Int64) | The WriteProperty method writes a property identified by the tag parameter with the long integer value specified by the value parameter. | |
WriteProperty(TnefPropertyTag, Stream) | The WriteProperty method writes a property identified by the tag parameter with the value contained in the value parameter. | |
WriteProperty(TnefPropertyTag, TextReader) | The WriteProperty method writes a property identified by the tag parameter with the value contained in the value parameter. | |
WriteProperty(TnefPropertyTag, Object) | The WriteProperty method writes a property identified by the tag parameter with the value specified by the value parameter. | |
WriteProperty(TnefPropertyTag, Single) | The WriteProperty method writes a property identified by the tag parameter with the floating point value specified by the value parameter. | |
WriteProperty(TnefPropertyTag, String) | The WriteProperty method writes a property identified by the tag parameter with the value specified by the value parameter. | |
WriteProperty(TnefPropertyTag, Guid, Stream) | The WriteProperty method writes an object property. | |
WritePropertyRawValue | The WritePropertyRawValue method writes a raw property value from a byte array. | |
WritePropertyTextValue | The WritePropertyTextValue method reads a text property value from a character array and writes it to the stream that this TnefWriter object owns. | |
WritePropertyValue(Boolean) | The WritePropertyValue method writes a Boolean property value to the stream that this TnefWriter object owns. | |
WritePropertyValue([]) | The WritePropertyValue method writes the value contained in the value parameter and then ends it. | |
WritePropertyValue(DateTime) | The WritePropertyValue method writes a DateTime value and then ends it. | |
WritePropertyValue(Double) | The WritePropertyValue method writes a double precision floating point value and then ends it. | |
WritePropertyValue(Guid) | The WritePropertyValue method writes a GUID value and then ends it. | |
WritePropertyValue(Int16) | The WritePropertyValue method writes a short integer value and then ends it. | |
WritePropertyValue(Int32) | The WritePropertyValue method writes an integer property value and then ends it. | |
WritePropertyValue(Int64) | The WritePropertyValue method writes a long integer property value and then ends it. | |
WritePropertyValue(Stream) | The WritePropertyValue method reads bytes from the stream parameter, writes them to the output stream that this TnefWriter object owns, and ends the property value. | |
WritePropertyValue(TextReader) | The WritePropertyValue method reads text from the reader parameter, writes it to the TNEF stream that this TnefWriter object owns, and then ends the property value. | |
WritePropertyValue(Object) | The WritePropertyValue method writes and object as a property value and then ends it. | |
WritePropertyValue(Single) | The WritePropertyValue method writes a single precision floating point value as a property value and then ends it. | |
WritePropertyValue(String) | The WritePropertyValue method writes a string to a property value and then ends it. | |
WritePropertyValue(Guid, Stream) | The WritePropertyValue method writes an object property value and ends it. | |
WriteTnefVersion | The WriteTnefVersion method writes the standard preamble TNEF version parameter. |
Top