Class PnpObjectCollection

Index

Properties

Methods

Properties

public length: number

public size: number

Methods

public concat(items?: Array<Windows.Devices.Enumeration.Pnp.PnpObject[]>): PnpObject[]

Parameters

  • items?: Array<Windows.Devices.Enumeration.Pnp.PnpObject[]> optional

Returns

PnpObject[]

public every(callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => boolean): boolean

Parameters

  • callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => boolean

Returns

boolean

public every(callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => boolean, thisArg: any): boolean

Parameters

  • callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => boolean
  • thisArg: any

Returns

boolean

public filter(callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => boolean): PnpObject[]

Parameters

  • callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => boolean

Returns

PnpObject[]

public filter(callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => boolean, thisArg: any): PnpObject[]

Parameters

  • callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => boolean
  • thisArg: any

Returns

PnpObject[]

public first(): IIterator

Returns

IIterator

public forEach(callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => void)

Parameters

  • callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => void

public forEach(callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => void, thisArg: any)

Parameters

  • callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => void
  • thisArg: any

public getAt(index: number): PnpObject

Parameters

  • index: number

Returns

PnpObject

public getMany(startIndex: number): { items: Windows.Devices.Enumeration.Pnp.PnpObject[]; returnValue: number; }

Parameters

  • startIndex: number

Returns

{ items: Windows.Devices.Enumeration.Pnp.PnpObject[]; returnValue: number; }

public indexOf(value: PnpObject): { index: number; returnValue: boolean; }

Parameters

Returns

{ index: number; returnValue: boolean; }

public join(seperator: string): string

Parameters

  • seperator: string

Returns

string

public lastIndexOf(searchElement: PnpObject): number

Parameters

Returns

number

public lastIndexOf(searchElement: PnpObject, fromIndex: number): number

Parameters

Returns

number

public map(callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => any): Array<any>

Parameters

  • callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => any

Returns

Array<any>

public map(callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => any, thisArg: any): Array<any>

Parameters

  • callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => any
  • thisArg: any

Returns

Array<any>

public pop(): PnpObject

Returns

PnpObject

public push(items?: PnpObject[])

Parameters

public reduce(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => any): any

Parameters

  • callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => any

Returns

any

public reduce(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => any, initialValue: any): any

Parameters

  • callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => any
  • initialValue: any

Returns

any

public reduceRight(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => any): any

Parameters

  • callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => any

Returns

any

public reduceRight(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => any, initialValue: any): any

Parameters

  • callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => any
  • initialValue: any

Returns

any

public reverse(): PnpObject[]

Returns

PnpObject[]

public shift(): PnpObject

Returns

PnpObject

public slice(start: number): PnpObject[]

Parameters

  • start: number

Returns

PnpObject[]

public slice(start: number, end: number): PnpObject[]

Parameters

  • start: number
  • end: number

Returns

PnpObject[]

public some(callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => boolean): boolean

Parameters

  • callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => boolean

Returns

boolean

public some(callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => boolean, thisArg: any): boolean

Parameters

  • callbackfn: (value: Windows.Devices.Enumeration.Pnp.PnpObject, index: number, array: Windows.Devices.Enumeration.Pnp.PnpObject[]) => boolean
  • thisArg: any

Returns

boolean

public sort(): PnpObject[]

Returns

PnpObject[]

public sort(compareFn: (a: Windows.Devices.Enumeration.Pnp.PnpObject, b: Windows.Devices.Enumeration.Pnp.PnpObject) => number): PnpObject[]

Parameters

  • compareFn: (a: Windows.Devices.Enumeration.Pnp.PnpObject, b: Windows.Devices.Enumeration.Pnp.PnpObject) => number

Returns

PnpObject[]

public splice(start: number): PnpObject[]

Parameters

  • start: number

Returns

PnpObject[]

public splice(start: number, deleteCount: number, items?: PnpObject[]): PnpObject[]

Parameters

  • start: number
  • deleteCount: number
  • items?: PnpObject[] optional

Returns

PnpObject[]

public toLocaleString(): string

Returns

string

public toString(): string

Returns

string

public unshift(items?: PnpObject[]): number

Parameters

Returns

number