GeneratorPositionHelper GeneratorPositionHelper GeneratorPositionHelper Class

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

Syntax

Declaration

public sealed class GeneratorPositionHelperpublic sealed class GeneratorPositionHelperPublic NotInheritable Class GeneratorPositionHelper

Methods summary

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

Methods

  • FromIndexAndOffset(System.Int32,System.Int32)
    FromIndexAndOffset(System.Int32,System.Int32)
    FromIndexAndOffset(System.Int32,System.Int32)
    FromIndexAndOffset(System.Int32,System.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(System.Int32,System.Int32)public static GeneratorPosition FromIndexAndOffset(System.Int32,System.Int32)Public Static Function FromIndexAndOffset(System.Int32,System.Int32) As GeneratorPosition

    Parameters

    • index
      System.Int32
      System.Int32
      System.Int32

      The index value to create with.

    • offset
      System.Int32
      System.Int32
      System.Int32

      The offset value to create with.

    Returns

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.WebHostHiddenAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.StaticAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.UI.Xaml.Controls.Primitives.dll