DkmDataContainer.GetDataItem<T> Method

Definition

Gets the instance of 'T' which has been added to this container instance. If this container does not contain a 'T', this function will return null.

C++/CX
public:
generic <typename T>
 where T : Microsoft::VisualStudio::Debugger::DkmDataItem T GetDataItem();

Type Parameters

T

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

Returns

T

[Optional] 'T' object associated with this container instance.

Applies to

Produit Versions
Visual Studio SDK 2015, 2017, 2019, 2022