DkmInspectionContext.GetClrObjectCreationExpression Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Geçerli sözdizimi varsa, nesne oluşturma ifadesini alın.
Konum kısıtlaması: API 'nin bir Izleyici bileşeninden çağrılması gerekir (bileşen düzeyi < 100.000).
Bu API, Visual Studio 15 RTM (DkmApiVersion. VS15RTM) sürümünde sunulmuştur.
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
Parametreler
- ClrType
- DkmClrType
'Ndaki İçin bir nesne ifadesi alınacak tür.
- CustomTypeInfo
- DkmClrCustomTypeInfo
[In, Isteğe bağlı] Derleyici iç tür bilgilerini tanımlamak için ifade derleyicisi tarafından belirtilen bilgiler.
- Arguments
- String[]
'Ndaki Oluşturucu çağrısının bağımsız değişkenleri.
Döndürülenler
[Out, Isteğe bağlı] Tür adı geçersiz bir sözdizimi olacaksa nesne oluşturma ifadesi veya null.