共用方式為


Module Interface

Definition

Represents a module in a process that is being debugged.

public interface class Module
public interface class Module
__interface Module
[System.Runtime.InteropServices.Guid("72832EE4-5808-433D-83A7-B8F149A79DB4")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface Module
[System.Runtime.InteropServices.Guid("72832EE4-5808-433D-83A7-B8F149A79DB4")]
public interface Module
[<System.Runtime.InteropServices.Guid("72832EE4-5808-433D-83A7-B8F149A79DB4")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type Module = interface
[<System.Runtime.InteropServices.Guid("72832EE4-5808-433D-83A7-B8F149A79DB4")>]
type Module = interface
Public Interface Module
Attributes

Properties

Collection

Represents the collection of Module objects.

DTE

Gets the top-level extensibility object.

EndAddress

Gets the end of the address range for the module.

Is64bit

Gets whether the module is 64-bit.

LoadAddress

Gets the beginning load address for the module.

Name

Gets the name of the module (such as, "kernel32.dll"). Name corresponds to the Name column of the Modules window.

Optimized

Gets whether the binary has been optimized. Optimized corresponds to the Optimized column of the Modules window.

Order

Returns the load order of the module. Order corresponds to the Order column of the Modules window.

Parent

Gets the immediate parent object of a Module object.

Path

Gets the full path to the module, such as c:\windows\system32\kernel32.dll. Path corresponds to the Path column of the Modules window.

Process

Gets the process that contains this module.

Rebased

Gets whether the module loaded at its preferred load address.

SymbolFile

Gets the path to the symbol file for this module. Returns null if symbols were not loaded.

UserCode

Gets whether the debugger is currently considers this module "UserCode." Name corresponds to the UserCode column of the Modules window. Applies to managed code only.

Version

Gets the version string for the module.

Methods

LoadSymbols(String)

Loads the symbols from the specified symbols file. This is equivalent to clicking the Load Symbols command on the context menu of the Modules window.

Applies to