DkmDataContainer.SetDataItem<T>(DkmDataCreationDisposition, T) Method

Definition

Place a new item in the data container.

public:
generic <typename T>
 where T : Microsoft::VisualStudio::Debugger::DkmDataItem void SetDataItem(Microsoft::VisualStudio::Debugger::DkmDataCreationDisposition CreationDisposition, T item);
public:
generic <typename T>
 where T : Microsoft::VisualStudio::Debugger::DkmDataItem void SetDataItem(Microsoft::VisualStudio::Debugger::DkmDataCreationDisposition CreationDisposition, T item);
template <typename T>
 where T : Microsoft::VisualStudio::Debugger::DkmDataItem void SetDataItem(Microsoft::VisualStudio::Debugger::DkmDataCreationDisposition CreationDisposition, T item);
public void SetDataItem<T> (Microsoft.VisualStudio.Debugger.DkmDataCreationDisposition CreationDisposition, T item) where T : Microsoft.VisualStudio.Debugger.DkmDataItem;
member this.SetDataItem : Microsoft.VisualStudio.Debugger.DkmDataCreationDisposition * 'T -> unit (requires 'T :> Microsoft.VisualStudio.Debugger.DkmDataItem)
Public Sub SetDataItem(Of T As DkmDataItem) (CreationDisposition As DkmDataCreationDisposition, item As T)

Type Parameters

T

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

Parameters

CreationDisposition
DkmDataCreationDisposition

Action to be taken if there is already an item of type T.

item
T

Item to place in this container.

Applies to