共用方式為


Source.IsClosed Property

Definition

Gets the current state of the source file.

public:
 property bool IsClosed { bool get(); };
public:
 property bool IsClosed { bool get(); };
public bool IsClosed { get; }
member this.IsClosed : bool
Public ReadOnly Property IsClosed As Boolean

Property Value

true if the source file is closed; otherwise false.

Remarks

The source file is considered closed if the Dispose method has been called. A Source object is closed when all views on that object are closed.

Applies to