共用方式為


DisposableObject.ThrowIfDisposed Method

Definition

Throws an ObjectDisposedException if this object has been disposed

protected:
 void ThrowIfDisposed();
protected:
 void ThrowIfDisposed();
void ThrowIfDisposed();
protected void ThrowIfDisposed ();
member this.ThrowIfDisposed : unit -> unit
Protected Sub ThrowIfDisposed ()

Applies to