PKPaymentButton.FromType(PKPaymentButtonType, PKPaymentButtonStyle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Factory method to create a new PKPaymentButton with the specified PKPaymentButtonType and PKPaymentButtonStyle.
[Foundation.Export("buttonWithType:style:")]
public static PassKit.PKPaymentButton FromType (PassKit.PKPaymentButtonType buttonType, PassKit.PKPaymentButtonStyle buttonStyle);
static member FromType : PassKit.PKPaymentButtonType * PassKit.PKPaymentButtonStyle -> PassKit.PKPaymentButton
Parameters
- buttonType
- PKPaymentButtonType
- buttonStyle
- PKPaymentButtonStyle
Returns
- Attributes