IDkmClrFullNameProvider.GetClrObjectCreationExpression 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.
Get an object creation expression, if valid syntax.
public:
System::String ^ GetClrObjectCreationExpression(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ clrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ customTypeInfo, cli::array <System::String ^> ^ arguments);
public:
Platform::String ^ GetClrObjectCreationExpression(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ clrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ customTypeInfo, Platform::Array <Platform::String ^> ^ arguments);
std::wstring GetClrObjectCreationExpression(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext const & inspectionContext, Microsoft::VisualStudio::Debugger::Clr::DkmClrType const & clrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo const & customTypeInfo, std::Array <std::wstring const &> const & arguments);
public string GetClrObjectCreationExpression (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, Microsoft.VisualStudio.Debugger.Clr.DkmClrType clrType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo customTypeInfo, string[] arguments);
public string? GetClrObjectCreationExpression (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, Microsoft.VisualStudio.Debugger.Clr.DkmClrType clrType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo? customTypeInfo, string[] arguments);
abstract member GetClrObjectCreationExpression : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * Microsoft.VisualStudio.Debugger.Clr.DkmClrType * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo * string[] -> string
Public Function GetClrObjectCreationExpression (inspectionContext As DkmInspectionContext, clrType As DkmClrType, customTypeInfo As DkmClrCustomTypeInfo, arguments As String()) As String
Parameters
- inspectionContext
- DkmInspectionContext
[In] Options and target context to use while performing the inspection operation.
- clrType
- DkmClrType
[In] The type to get an object expression for.
- customTypeInfo
- DkmClrCustomTypeInfo
[In,Optional] The information provided by the expression compiler for identifying compiler intrinsic type information.
- arguments
- String[]
[In] Arguments to constructor call.
Returns
[Out,Optional] The object creation expression or null if the type name would be invalid syntax.