StorePurchaseProperties 클래스

정의

구매 중에 사용자에게 표시할 제품 이름을 포함하여 제품에 대한 구매 요청에 전달할 수 있는 추가 세부 정보가 포함되어 있습니다.

public ref class StorePurchaseProperties sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Services.Store.StoreContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.Services.Store.IStorePurchasePropertiesFactory, 65536, "Windows.Services.Store.StoreContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StorePurchaseProperties final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Services.Store.StoreContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Services.Store.IStorePurchasePropertiesFactory), 65536, "Windows.Services.Store.StoreContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StorePurchaseProperties
function StorePurchaseProperties(name)
Public NotInheritable Class StorePurchaseProperties
상속
Object Platform::Object IInspectable StorePurchaseProperties
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Anniversary Edition (10.0.14393.0에서 도입되었습니다.)
API contract
Windows.Services.Store.StoreContract (v1.0에서 도입되었습니다.)

설명

StoreContext, StoreProduct, StoreSkuStoreAvailability 클래스의 RequestPurchaseAsync 메서드에는 이 형식의 인수를 허용하는 오버로드가 있습니다.

생성자

StorePurchaseProperties()

StorePurchaseProperties 클래스의 새 instance 초기화합니다.

StorePurchaseProperties(String)

StorePurchaseProperties 클래스의 새 instance 초기화합니다. 이 오버로드는 구매 중에 사용자에게 표시되는 제품 이름을 지정하는 옵션을 제공합니다.

속성

ExtendedJsonData

구매 요청과 함께 Microsoft Store에 전달할 확장 데이터를 포함하는 JSON 형식 문자열을 가져오거나 설정합니다.

Name

구매하는 동안 사용자에게 표시되는 제품 이름을 가져오거나 설정합니다. 지정된 이름이 구매 UI의 제목 표시줄에 나타납니다.

적용 대상