Επεξεργασία

Κοινή χρήση μέσω


GeneratorPosition Struct

Definition

Describes the position of an item that is managed by ItemContainerGenerator.

public value class GeneratorPosition
[System.Security.SecurityCritical]
public struct GeneratorPosition
[<System.Security.SecurityCritical>]
type GeneratorPosition = struct
Public Structure GeneratorPosition
Inheritance
GeneratorPosition
Attributes

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) GeneratorPosition struct. For more information, see GeneratorPosition in the UWP API reference.

Constructors

GeneratorPosition(Int32, Int32)

Initializes a new instance of GeneratorPosition with the specified index and offset.

Properties

Index

Gets or sets the index that is relative to the generated (realized) items.

Offset

Gets or sets the offset that is relative to the ungenerated (unrealized) items near the indexed item.

Methods

Equals(Object)

Compares the specified instance and the current instance of GeneratorPosition for value equality.

GetHashCode()

Returns the hash code for this GeneratorPosition.

ToString()

Returns a string representation of this instance of GeneratorPosition.

Operators

Equality(GeneratorPosition, GeneratorPosition)

Compares two GeneratorPosition objects for value equality.

Inequality(GeneratorPosition, GeneratorPosition)

Compares two GeneratorPosition objects for value inequality.

Applies to

See also