DkmDataContainer.GetDataItem<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
generic <typename T>
where T : Microsoft::VisualStudio::Debugger::DkmDataItem T GetDataItem();
public:
generic <typename T>
where T : Microsoft::VisualStudio::Debugger::DkmDataItem T GetDataItem();
template <typename T>
where T : Microsoft::VisualStudio::Debugger::DkmDataItem T GetDataItem();
public T GetDataItem<T> () where T : Microsoft.VisualStudio.Debugger.DkmDataItem;
public T? GetDataItem<T> () where T : Microsoft.VisualStudio.Debugger.DkmDataItem;
member this.GetDataItem : unit -> 'T (requires 'T :> Microsoft.VisualStudio.Debugger.DkmDataItem)
Public Function GetDataItem(Of T As DkmDataItem) () As T
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.