共用方式為


DiagramWatermark.Dispose Method (Boolean)

Disposes this control. Unsubscribes from event handlers and hides watermark if it's visible.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Protected Overrides Sub Dispose ( _
    disposing As Boolean _
)
protected override void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
) override
abstract Dispose : 
        disposing:bool -> unit 
override Dispose : 
        disposing:bool -> unit 
protected override function Dispose(
    disposing : boolean
)

Parameters

.NET Framework Security

See Also

Reference

DiagramWatermark Class

Dispose Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace