PowerTCP Mail for .NET
Position Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > MimeAttachmentStream Class : Position Property




Gets or sets the current position of this stream.

Syntax

Visual Basic (Declaration) 
Public Overrides Property Position As Long
Visual Basic (Usage)Copy Code
Dim instance As MimeAttachmentStream
Dim value As Long
 
instance.Position = value
 
value = instance.Position
C# 
public override long Position {get; set;}
Managed Extensions for C++ 
public: __property long get_Position() override;
public: __property void set_Position( 
   long value
) override;
C++/CLI 
public:
property int64 Position {
   int64 get() override;
   void set (    int64 value) override;
}

Property Value

The current position of this stream.

Exceptions

ExceptionDescription
System.NotSupportedExceptionThe Stream does not support setting the Position to any value except 0.

Remarks

If the Stream is a CodingStream or a MessageStream or a Stream derived from CodingStream or MessageStream, this property can only be set to 0. Setting the property to any other value results in a NotSupportedException.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.