Share via


Position Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the current position in the stream. This property is not currently supported and always throws a NotSupportedException.

Namespace:  System.Net.Sockets
Assembly:  System (in System.dll)

Syntax

'Declaration
Public Overrides Property Position As Long
public override long Position { get; set; }
public:
virtual property long long Position {
    long long get () override;
    void set (long long value) override;
}
abstract Position : int64 with get, set
override Position : int64 with get, set
override function get Position () : long
override function set Position (value : long)

Property Value

Type: System. . :: . .Int64
The current position in the stream.

.NET Framework Security

See Also

Reference

NetworkStream Class

System.Net.Sockets Namespace