Udostępnij za pośrednictwem


DkmMCppMethodScope Class

Definition

Represents a scope within a method implemented in C++/CLI.

This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).

public ref class DkmMCppMethodScope
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmMCppMethodScope
[Windows::Foundation::Metadata::WebHostHidden]
class DkmMCppMethodScope
[System.Runtime.InteropServices.Guid("6ac6489d-a608-8391-ddfa-87abc07e422a")]
public class DkmMCppMethodScope
[<System.Runtime.InteropServices.Guid("6ac6489d-a608-8391-ddfa-87abc07e422a")>]
type DkmMCppMethodScope = class
Public Class DkmMCppMethodScope
Inheritance
DkmMCppMethodScope
Attributes

Properties

ILRange

The range of IL offsets within the method for which this scope is valid.

This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).

Method

The method containing this scope.

This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).

Module

The module for which this method belongs to.

This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).

Parent

[Optional] The parent of this scope, null for the root scope of a method.

This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).

Variables

The variables defined within this scope.

This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).

Methods

Create(DkmClrMethodId, DkmModule, DkmILRange, DkmMCppMethodScope, ReadOnlyCollection<DkmMCppLocalVariableSymbol>)

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).

Applies to