TnefReader Members

The TnefReader class enables you to read properties from a TNEF stream in a forward-only manner.

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

Public Constructors

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

Top

Public Properties

  Name Description
Aa567010.pubproperty(en-us,EXCHG.80).gif AttachmentKey The AttachmentKey property gets a short integer value representing the attachment key.
Aa567010.pubproperty(en-us,EXCHG.80).gif AttributeLevel The AttributeLevel property returns a TnefAttributeLevel enumeration value indicating whether the current attribute is applied to a message or an attachment.
Aa567010.pubproperty(en-us,EXCHG.80).gif AttributeRawValueLength The AttributeRawValueLength property gets an integer representing the length of the raw value of the current attribute.
Aa567010.pubproperty(en-us,EXCHG.80).gif AttributeRawValueStreamOffset The AttributeRawValueStreamOffset property gets an integer representing the start location of the raw value of the current attribute.
Aa567010.pubproperty(en-us,EXCHG.80).gif AttributeTag The AttributeTag property returns a TnefAttributeTag enumeration value that identifies the current attribute.
Aa567010.pubproperty(en-us,EXCHG.80).gif ComplianceMode The ComplianceMode property gets a TnefComplianceMode enumeration value specifying whether this TnefReader object will throw an exception if it encounters malformed TNEF data.
Aa567010.pubproperty(en-us,EXCHG.80).gif ComplianceStatus The ComplianceStatus property gets a TnefComplianceStatus enumeration value indicating either that the TNEF data is compliant or what the noncompliance issue is.
Aa567010.pubproperty(en-us,EXCHG.80).gif MessageCodepage The MessageCodepage gets an integer value representing the codepage to use to decode 8-bit character string properties in the TNEF data stream that belongs to this TnefReader object.
Aa567010.pubproperty(en-us,EXCHG.80).gif PropertyReader The PropertyReader property gets a TnefPropertyReader structure that can read the properties in the TNEF stream owned by this TnefReader object.
Aa567010.pubproperty(en-us,EXCHG.80).gif StreamOffset The StreamOffset property gets an integer representing the current position in the TNEF stream that this TnefReader object owns.
Aa567010.pubproperty(en-us,EXCHG.80).gif TnefVersion The TnefVersion property gets the TnefVersion attribute, if found, from the TNEF stream that this TnefReader object owns.

Top

Public Methods

(see also Protected Methods )

  Name Description
Aa567010.pubmethod(en-us,EXCHG.80).gif Close The Close method closes the TNEF stream that this TnefReader object owns.
Aa567010.pubmethod(en-us,EXCHG.80).gif Equals  Overloaded. (inherited from Object )
Aa567010.pubmethod(en-us,EXCHG.80).gif GetHashCode  (inherited from Object )
Aa567010.pubmethod(en-us,EXCHG.80).gif GetType  (inherited from Object )
Aa567010.pubmethod(en-us,EXCHG.80).gif ReadAttributeRawValue The ReadAttributeRawValue method reads an undecoded attribute value from the TNEF stream that this TnefReader object owns.
Aa567010.pubmethod(en-us,EXCHG.80).gif ReadNextAttribute The ReadNextAttribute method reads the next attribute in the TNEF stream that this TnefReader object owns.
Aa567010.pubmethod(en-us,EXCHG.80).gifAa567010.static(en-us,EXCHG.80).gif ReferenceEquals  (inherited from Object )
Aa567010.pubmethod(en-us,EXCHG.80).gif ResetComplianceStatus The ResetComplianceStatus method sets the ComplianceStatus back to Compliant.
Aa567010.pubmethod(en-us,EXCHG.80).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
Aa567010.protmethod(en-us,EXCHG.80).gif Dispose Releases the unmanaged resources used by the TnefReader and optionally releases the managed resources.
Aa567010.protmethod(en-us,EXCHG.80).gif Finalize  (inherited from Object )
Aa567010.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 TnefReader.

Top