WalletItemCustomProperty.AutoDetectLinks 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
不再支援 ApplicationModel.Wallet 命名空間,且即將淘汰。 我們鼓勵開發人員避免使用此命名空間。
取得或設定此 WalletItemCustomProperty 是否為實體擷取,且可在顯示時採取動作。
public:
property bool AutoDetectLinks { bool get(); void set(bool value); };
bool AutoDetectLinks();
void AutoDetectLinks(bool value);
/// [get: Windows.Foundation.Metadata.Deprecated("IWalletItemCustomProperty is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("IWalletItemCustomProperty is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
bool AutoDetectLinks();
void AutoDetectLinks(bool value);
public bool AutoDetectLinks { get; set; }
public bool AutoDetectLinks { [Windows.Foundation.Metadata.Deprecated("IWalletItemCustomProperty is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("IWalletItemCustomProperty is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")] set; }
var boolean = walletItemCustomProperty.autoDetectLinks;
walletItemCustomProperty.autoDetectLinks = boolean;
Public Property AutoDetectLinks As Boolean
屬性值
Boolean
bool
true 是表示如果WalletItemCustomProperty是實體擷取且可在顯示時採取動作;否則為false。
- 屬性
備註
實體擷取 是自動行為的詞彙,可將資料中的字串與特定模式相符,並自動為 UI 中的該專案產生適當的動作/行為。 這項技術通常用於電子郵件應用程式,也在這裡用於電子錢包專案顯示的 UI 邏輯。 例如,10 位數的字串,其中每個字元都是數位 0-9 可以實體擷取來代表電話號碼,而相關聯的動作是起始該號碼的呼叫。 因為模式可能有 false 相符專案,所以預設值為 false,但如果您知道 您的 WalletItemCustomProperty 中的資料和比對行為為何,而且您想要實體擷取的行為,請將此屬性設定 為 true。