Share via


WalletItemCustomProperty.AutoDetectLinks Property

Definition

Caution

The ApplicationModel.Wallet namespace is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.

Gets or sets whether this WalletItemCustomProperty is entity-extracted and actionable upon display.

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

Property Value

Boolean

bool

true if the WalletItemCustomProperty is entity-extracted and actionable upon display; Otherwise, false.

Attributes

Remarks

Entity-extracted is a term for the automatic behavior that can match strings in data to certain patterns, and automatically generate an appropriate action/behavior for that item in the UI. This technique is commonly used in e-mail applications, and is also used here for the UI logic of a wallet item display. For example, a 10-digit string where each character is a number 0-9 can be entity-extracted to represent a phone number, and the action associated is to initiate a call to that number. Because there can be false matches to the patterns, the default value is false, but if you know what the data and matching behavior is in your WalletItemCustomProperty and you want entity-extracted behavior, set this property true.

Applies to

See also