Bewerken

Share via


SafeBuffer.IsInvalid Property

Definition

Gets a value that indicates whether the handle is invalid.

public:
 virtual property bool IsInvalid { bool get(); };
public override bool IsInvalid { get; }
member this.IsInvalid : bool
Public Overrides ReadOnly Property IsInvalid As Boolean

Property Value

true if the handle is not valid; otherwise, false.

Remarks

The common language runtime uses this property to determine whether critical finalization is required.

Applies to

See also