Partager via


IDSRefProvider.Clear Method

Resets a specified tree to an empty state.

Namespace:  Microsoft.VisualStudio.Data.Interop
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Sub Clear
void Clear()
void Clear()
abstract Clear : unit -> unit
function Clear()

Remarks

There is no method for removing nodes from a DSRef tree. You must clear the tree to rebuild it.

.NET Framework Security

See Also

Reference

IDSRefProvider Interface

Microsoft.VisualStudio.Data.Interop Namespace

Other Resources

Data Designer Extensibility (DDEX) SDK