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




Gets or sets the position within the current stream

Syntax

Visual Basic (Declaration) 
Public Overrides Property Position As Long
Visual Basic (Usage)Copy Code
Dim instance As PipeStream
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

A value indicating the current position in the stream.

Remarks

Returns PipeStream.CoreStream.Position if not writing, and the amount written to the stream, if writing. Attempting to set this property returns an InvalidOperationException unless it is set to 0, in which case the position of the PipeStream.CoreStream.Position will be set to 0, and this object is ready for reading.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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