DkmInspectionContext.GetClrObjectCreationExpression(DkmClrType, DkmClrCustomTypeInfo, String[]) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Einen Objekt Erstellungs Ausdruck bei gültiger Syntax erhalten.
Location-Einschränkung: die API muss von einer Monitor Komponente (Komponentenebene < 100.000) aufgerufen werden.
Diese API wurde in Visual Studio 15 RTM (dkmapiversion. VS15RTM) eingeführt.
public:
System::String ^ GetClrObjectCreationExpression(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::Clr::DkmClrType ^ ClrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ CustomTypeInfo, Platform::Array <Platform::String ^> ^ Arguments);
std::wstring GetClrObjectCreationExpression(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.Clr.DkmClrType ClrType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo CustomTypeInfo, string[] Arguments);
member this.GetClrObjectCreationExpression : Microsoft.VisualStudio.Debugger.Clr.DkmClrType * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo * string[] -> string
Public Function GetClrObjectCreationExpression (ClrType As DkmClrType, CustomTypeInfo As DkmClrCustomTypeInfo, Arguments As String()) As String
Parameter
- ClrType
- DkmClrType
In Der Typ, für den ein Objekt Ausdruck angezeigt werden soll.
- CustomTypeInfo
- DkmClrCustomTypeInfo
[In, optional] Die Informationen, die vom Ausdrucks Compiler zur Identifizierung von systeminternen compilertypinformationen bereitgestellt werden.
- Arguments
- String[]
In Argumente für den konstruktorbefehl.
Gibt zurück
[Out, optional] Der Objekt Erstellungs Ausdruck oder NULL, wenn der Typname eine ungültige Syntax wäre.