PKPassLibrary.GetPasses 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.
Overloads
GetPasses() |
The passes in the user's pass library. |
GetPasses(PKPassType) |
The passes in the user's pass library whose P:PassKit.PKPassType.PassType matches |
GetPasses()
The passes in the user's pass library.
[Foundation.Export("passes")]
public virtual PassKit.PKPass[] GetPasses ();
abstract member GetPasses : unit -> PassKit.PKPass[]
override this.GetPasses : unit -> PassKit.PKPass[]
Returns
PKPass[]
- Attributes
Applies to
GetPasses(PKPassType)
The passes in the user's pass library whose P:PassKit.PKPassType.PassType matches passType
.
[Foundation.Export("passesOfType:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual PassKit.PKPass[] GetPasses (PassKit.PKPassType passType);
abstract member GetPasses : PassKit.PKPassType -> PassKit.PKPass[]
override this.GetPasses : PassKit.PKPassType -> PassKit.PKPass[]
Parameters
- passType
- PKPassType
Returns
PKPass[]
- Attributes