Freigeben über


DkmClrLocalVariableInfo.Create Method

Definition

Create a new DkmClrLocalVariableInfo object instance.

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

public:
 static Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrLocalVariableInfo ^ Create(System::String ^ VariableName, System::String ^ FullName, System::String ^ MethodName, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCompilationResultFlags CompilationFlags, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultCategory ResultCategory, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ CustomTypeInfo);
public:
 static Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrLocalVariableInfo ^ Create(Platform::String ^ VariableName, Platform::String ^ FullName, Platform::String ^ MethodName, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCompilationResultFlags CompilationFlags, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultCategory ResultCategory, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ CustomTypeInfo);
 static Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrLocalVariableInfo Create(std::wstring const & VariableName, std::wstring const & FullName, std::wstring const & MethodName, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCompilationResultFlags CompilationFlags, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultCategory ResultCategory, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo const & CustomTypeInfo);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrLocalVariableInfo Create (string VariableName, string FullName, string MethodName, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCompilationResultFlags CompilationFlags, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultCategory ResultCategory, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo CustomTypeInfo);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrLocalVariableInfo Create (string VariableName, string FullName, string MethodName, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCompilationResultFlags CompilationFlags, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultCategory ResultCategory, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo? CustomTypeInfo);
static member Create : string * string * string * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCompilationResultFlags * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultCategory * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo -> Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrLocalVariableInfo
Public Shared Function Create (VariableName As String, FullName As String, MethodName As String, CompilationFlags As DkmClrCompilationResultFlags, ResultCategory As DkmEvaluationResultCategory, CustomTypeInfo As DkmClrCustomTypeInfo) As DkmClrLocalVariableInfo

Parameters

VariableName
String

[In] The user-visible name of the variable.

FullName
String

[In] The full name of the variable. This is the expression evaluated if the variable is added to the Watch window.

MethodName
String

[In] The name of the method to execute to get the value of this variable.

CompilationFlags
DkmClrCompilationResultFlags

[In,Optional] Flags, provided by the compiler, describing the local variable.

ResultCategory
DkmEvaluationResultCategory

[In,Optional] What category this variable belongs to, this controls the glyph displayed in the evaluation windows.

CustomTypeInfo
DkmClrCustomTypeInfo

[In,Optional] The optional information provided to the result formatter for identifying compiler intrinsic type information.

Returns

[Out] Result of this method call.

Applies to