WalletItemCustomProperty.Name 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
property Platform::String ^ Name { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Name();
void Name(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 Name();
void Name(winrt::hstring value);
public string Name { get; set; }
public string Name { [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.name;
walletItemCustomProperty.name = string;
Public Property Name As String
属性值
自定义属性标签。
- 属性
注解
与 DisplayProperties 集合的键不同, WalletItemCustomProperty 对象的 Name 值适用于用户 UI。 在构造新的 WalletItemCustomProperty 时,设置 Name 报告的值是必需参数, (请参阅 WalletItemCustomProperty 构造函数) 。 在大多数情况下,你不会设置现有 WalletItemCustomProperty 的 Name 属性,而不是构造一个新钱包。