DkmClrRuntimeInstance.GetAliases(DkmInspectionContext) Method

Definition

Gets the list of aliases that can currently be used in expressions.

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Clr::DkmClrAlias ^> ^ GetAliases(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ InspectionContext);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrAlias> GetAliases (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext InspectionContext);
member this.GetAliases : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrAlias>
Public Function GetAliases (InspectionContext As DkmInspectionContext) As ReadOnlyCollection(Of DkmClrAlias)

Parameters

InspectionContext
DkmInspectionContext

[In,Optional] The current InspectionContext. If null, aliases that depend on the current thread or app domain will not be returned by this method.

Returns

[Out] The list of alias that can currently be used in expressions.

Applies to