IDkmClrSymbolCallback120.GetMethodLocalSymbols Yöntem

Tanım

Bir yöntem içindeki kapsamları döndürür. Her zaman en az bir kapsam olacaktır.

public:
 cli::array <Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodScopeData> ^ GetMethodLocalSymbols(Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionSymbol ^ clrInstruction);
std::Array <Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodScopeData> GetMethodLocalSymbols(Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionSymbol const & clrInstruction);
public Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData[] GetMethodLocalSymbols (Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol clrInstruction);
abstract member GetMethodLocalSymbols : Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol -> Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData[]
Public Function GetMethodLocalSymbols (clrInstruction As DkmClrInstructionSymbol) As DkmClrMethodScopeData()

Parametreler

clrInstruction
DkmClrInstructionSymbol

'Ndaki Dkmclrkomutctionsymbol, hedef işlemde ortak dil çalışma zamanı (CLR) altında çalışan bir Il yönergesini temsil eder. Bu nesne, yöntem sürüm numarasını içerir. Bu nedenle, Düzenle ve devam et senaryolarında, metodun farklı sürümleri için yönerge simgesi farklı olacaktır. Bu nesne genel bağlama parametreleri hakkında bilgi içermiyor. Bu nedenle, bir yöntemin farklı genel örneklemeleri (örn: MyMethod < dizesi > ve MyMethod < Int > ), clr onları tek bir yöntem belirteciyle temsil ettiğinden aynı yönerge simgesiyle temsil edilir.

Döndürülenler

DkmClrMethodScopeData[]

Dışı DkmClrMethodScopeData [] bir metot içindeki kapsamı tanımlar. Bunlar ıstreamunmanagedwriter:: OpenScope/CloseScope kullanılarak tanımlanmıştır.

Şunlara uygulanır