DkmMCppMethodScope.Create 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.
Create a new DkmMCppMethodScope object instance.
Location constraint: API must be called from an IDE component (component level > 100,000).
This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).
public:
static Microsoft::VisualStudio::Debugger::Clr::Cpp::DkmMCppMethodScope ^ Create(Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodId Method, Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ Module, Microsoft::VisualStudio::Debugger::Clr::DkmILRange ILRange, Microsoft::VisualStudio::Debugger::Clr::Cpp::DkmMCppMethodScope ^ Parent, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Clr::Cpp::DkmMCppLocalVariableSymbol ^> ^ Variables);
public static Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppMethodScope Create (Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId Method, Microsoft.VisualStudio.Debugger.Symbols.DkmModule Module, Microsoft.VisualStudio.Debugger.Clr.DkmILRange ILRange, Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppMethodScope Parent, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppLocalVariableSymbol> Variables);
public static Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppMethodScope Create (Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId Method, Microsoft.VisualStudio.Debugger.Symbols.DkmModule Module, Microsoft.VisualStudio.Debugger.Clr.DkmILRange ILRange, Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppMethodScope? Parent, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppLocalVariableSymbol> Variables);
static member Create : Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId * Microsoft.VisualStudio.Debugger.Symbols.DkmModule * Microsoft.VisualStudio.Debugger.Clr.DkmILRange * Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppMethodScope * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppLocalVariableSymbol> -> Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppMethodScope
Public Shared Function Create (Method As DkmClrMethodId, Module As DkmModule, ILRange As DkmILRange, Parent As DkmMCppMethodScope, Variables As ReadOnlyCollection(Of DkmMCppLocalVariableSymbol)) As DkmMCppMethodScope
Parameters
- Method
- DkmClrMethodId
[In] The method containing this scope.
- Module
- DkmModule
[In] The module for which this method belongs to.
- ILRange
- DkmILRange
[In] The range of IL offsets within the method for which this scope is valid.
- Parent
- DkmMCppMethodScope
[In,Optional] The parent of this scope, null for the root scope of a method.
- Variables
- ReadOnlyCollection<DkmMCppLocalVariableSymbol>
[In] The variables defined within this scope.
Returns
[Out] Result of this method call.