SymVariable SymVariable SymVariable SymVariable Class

定義

表示符號存放區內的變數。Represents a variable within a symbol store.

public ref class SymVariable : System::Diagnostics::SymbolStore::SymVariableBase, IDisposable, System::Diagnostics::SymbolStore::ISymbolVariable
[System.Runtime.InteropServices.ComVisible(true)]
public class SymVariable : System.Diagnostics.SymbolStore.SymVariableBase, IDisposable, System.Diagnostics.SymbolStore.ISymbolVariable
type SymVariable = class
    inherit SymVariableBase
    interface ISymbolVariable
    interface IDisposable
Public Class SymVariable
Inherits SymVariableBase
Implements IDisposable, ISymbolVariable
繼承
SymVariableSymVariableSymVariableSymVariable
屬性
實作

備註

SymVariable物件可以是參數、 區域變數或欄位。The SymVariable object can be a parameter, a local variable, or a field.

建構函式

SymVariable(ISymUnmanagedVariable*) SymVariable(ISymUnmanagedVariable*) SymVariable(ISymUnmanagedVariable*) SymVariable(ISymUnmanagedVariable*)

使用非受控 ISymUnmanagedVariable 物件的指定指標,初始化 SymVariable 類別的新執行個體。Initializes a new instance of the SymVariable class using the specified pointer to an unmanaged ISymUnmanagedVariable object.

SymVariable(ISymUnmanagedVariable*) SymVariable(ISymUnmanagedVariable*) SymVariable(ISymUnmanagedVariable*) SymVariable(ISymUnmanagedVariable*)

使用非受控 ISymUnmanagedVariable 物件的指定指標,初始化 SymVariable 類別的新執行個體。Initializes a new instance of the SymVariable class using the specified pointer to an unmanaged ISymUnmanagedVariable object.

屬性

AddressField1 AddressField1 AddressField1 AddressField1

取得變數的第一個位址。Gets the first address of a variable.

AddressField2 AddressField2 AddressField2 AddressField2

取得變數的第二個位址。Gets the second address of a variable.

AddressField3 AddressField3 AddressField3 AddressField3

取得變數的第三個位址。Gets the third address of a variable.

AddressKind AddressKind AddressKind AddressKind

取得描述位址類型的 SymAddressKind 值。Gets the SymAddressKind value describing the type of the address.

Attributes Attributes Attributes Attributes

取得變數的屬性。Gets the attributes of the variable.

EndOffset EndOffset EndOffset EndOffset

取得變數範圍內變數的結束位移。Gets the end offset of a variable within the scope of the variable.

Name Name Name Name

取得變數的名稱。Gets the name of the variable.

StartOffset StartOffset StartOffset StartOffset

取得變數範圍內變數的開始位移。Gets the start offset of the variable within the scope of the variable.

方法

Dispose() Dispose() Dispose() Dispose()

SymVariable 類別的目前執行個體所使用的資源釋出。Releases the resources used by the current instance of the SymVariable class.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Dispose()Finalize() 方法呼叫,以釋出 SymVariable 類別之目前執行個體所使用的 Managed 和 Unmanaged 資源。Called by the Dispose() and Finalize() methods to release the managed and unmanaged resources used by the current instance of the SymVariable class.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

釋出 Unmanaged 資源並執行其他清除作業後,記憶體回收才能重新回收 SymVariableReleases unmanaged resources and performs other cleanup operations before the SymVariable is reclaimed by garbage collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetSignature() GetSignature() GetSignature() GetSignature()

取得變數簽章。Gets the variable signature.

GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)
__dtor() __dtor() __dtor() __dtor()

將目前執行個體所持有的資源釋出。Releases the resources held by the current instance.

{dtor}() {dtor}() {dtor}() {dtor}()

將目前執行個體所持有的資源釋出。Releases the resources held by the current instance.

適用於