WalletItemCustomProperty.Value 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
property Platform::String ^ Value { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Value();
void Value(winrt::hstring 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")]
winrt::hstring Value();
void Value(winrt::hstring value);
public string Value { get; set; }
public string Value { [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 string = walletItemCustomProperty.value;
walletItemCustomProperty.value = string;
Public Property Value As String
屬性值
自訂屬性值。
- 屬性
備註
當您建構新的 WalletItemCustomProperty (請參閱 WalletItemCustomProperty 建構 函式) 時,設定 Value 所報告的值是必要參數。 在大部分情況下,您不會設定現有 WalletItemCustomProperty的 Value 屬性,而不是建構新的屬性。