次の方法で共有


DkmDataContainer.RemoveDataItem<T> Method

Definition

Remove the instance of 'T' from this container. It is usually unnecessary to call this method as a data container will automatically be emptied when the object is closed.

public:
generic <typename T>
 where T : Microsoft::VisualStudio::Debugger::DkmDataItem bool RemoveDataItem();
public:
generic <typename T>
 where T : Microsoft::VisualStudio::Debugger::DkmDataItem bool RemoveDataItem();
template <typename T>
 where T : Microsoft::VisualStudio::Debugger::DkmDataItem bool RemoveDataItem();
public bool RemoveDataItem<T> () where T : Microsoft.VisualStudio.Debugger.DkmDataItem;
member this.RemoveDataItem : unit -> bool (requires 'T :> Microsoft.VisualStudio.Debugger.DkmDataItem)
Public Function RemoveDataItem(Of T As DkmDataItem) () As Boolean

Type Parameters

T

Type of a data item class. This class must derive from DkmDataItem. See DkmDataContainer definition for more information.

Returns

False if this container did not have an instance of 'T'.

Applies to