共用方式為


URLConnection.OutputStream Property

Definition

Returns an output stream that writes to this connection.

public virtual System.IO.Stream? OutputStream { [Android.Runtime.Register("getOutputStream", "()Ljava/io/OutputStream;", "GetGetOutputStreamHandler")] get; }
[<get: Android.Runtime.Register("getOutputStream", "()Ljava/io/OutputStream;", "GetGetOutputStreamHandler")>]
member this.OutputStream : System.IO.Stream

Property Value

an output stream that writes to this connection.

Attributes

Exceptions

if no OutputStream could be created.

Remarks

Returns an output stream that writes to this connection.

Java documentation for java.net.URLConnection.getOutputStream().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to