LocationReference 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供一種可以在執行時解決 a Location 的機制。
public ref class LocationReference abstract
public abstract class LocationReference
type LocationReference = class
Public MustInherit Class LocationReference
- 繼承
-
LocationReference
- 衍生
備註
Variable、 RuntimeArgument、 DelegateArgument 和 都是 LocationReferences。 執行時管理與每個 ActivityInstance相關的環境中的狀態。 A Location 是儲存在此環境中的值的讀寫代理。 A LocationReference 提供了一種可以在執行時解決 a Location 的機制。
這是抽象類。
建構函式
| 名稱 | Description |
|---|---|
| LocationReference() |
建立一個新的類別實例 LocationReference 。 |
屬性
| 名稱 | Description |
|---|---|
| Name |
取得或設定 的名稱。LocationReference |
| NameCore |
當由派生類別實作時,會取得或設定該名稱 LocationReference的文化在地化版本。 |
| Type |
取得或設定 的 LocationReference類型。 |
| TypeCore |
當在衍生類別中實作時,會取得或設定文化在地化的型別 LocationReference。 |
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
做為預設哈希函式。 (繼承來源 Object) |
| GetLocation(ActivityContext) |
當在導出類別中實作時,會從LocationReference物件中擷取 a ActivityContext 的位置。 |
| GetType() |
取得目前實例的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
建立目前 Object的淺層複本。 (繼承來源 Object) |
| ToString() |
傳回表示目前 物件的字串。 (繼承來源 Object) |