Generator​Position​Helper Generator​Position​Helper Generator​Position​Helper Class

Definition

Provides utility methods for evaluating and creating GeneratorPosition structure values. C# and Microsoft Visual Basic code should use members of GeneratorPosition instead.

public : sealed class GeneratorPositionHelper : IGeneratorPositionHelperpublic sealed class GeneratorPositionHelper : IGeneratorPositionHelperPublic NotInheritable Class GeneratorPositionHelper Implements IGeneratorPositionHelper
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

FromIndexAndOffset(Int32, Int32) FromIndexAndOffset(Int32, Int32) FromIndexAndOffset(Int32, Int32)

Creates a GeneratorPosition value using provided values for index and offset. C# and Microsoft Visual Basic code should use GeneratorPosition(Int32,Int32) instead.

public : static GeneratorPosition FromIndexAndOffset(int index, int offset)public static GeneratorPosition FromIndexAndOffset(Int32 index, Int32 offset)Public Static Function FromIndexAndOffset(index As Int32, offset As Int32) As GeneratorPosition
Parameters
index
int Int32 Int32

The index value to create with.

offset
int Int32 Int32

The offset value to create with.

Returns

The created GeneratorPosition structure with the desired values.

Attributes