LocationReference 類別

定義

提供可在執行階段解析 Location 的機制。

public ref class LocationReference abstract
public abstract class LocationReference
type LocationReference = class
Public MustInherit Class LocationReference
繼承
LocationReference
衍生

備註

VariableRuntimeArgumentDelegateArgument 都是 LocationReference。 執行階段會管理與每個 ActivityInstance 相關聯之環境的狀態。 Location 是讀取/寫入儲存於此環境之值的 Proxy。 LocationReference 提供可在執行階段解析 Location 的機制。

這是 abstract 類別。

建構函式

LocationReference()

建立 LocationReference 類別的新執行個體。

屬性

Name

取得或設定 LocationReference 的名稱。

NameCore

由衍生類別實作時,取得或設定 LocationReference 名稱的當地語系化版本。

Type

取得或設定 LocationReference 的型別。

TypeCore

在衍生類別中實作時,取得或設定 LocationReference 型別的當地語系化版本。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetLocation(ActivityContext)

在衍生類別中實作時,從 LocationReference 物件解壓縮 ActivityContext 的位置。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於