GeneratorPosition GeneratorPosition GeneratorPosition GeneratorPosition Struct

Definition

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

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

Constructors

GeneratorPosition(Int32, Int32) GeneratorPosition(Int32, Int32) GeneratorPosition(Int32, Int32) GeneratorPosition(Int32, Int32)

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

Properties

Index Index Index Index

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

Offset Offset Offset Offset

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the hash code for this GeneratorPosition.

ToString() ToString() ToString() ToString()

Returns a string representation of this instance of GeneratorPosition.

Operators

Equality(GeneratorPosition, GeneratorPosition) Equality(GeneratorPosition, GeneratorPosition) Equality(GeneratorPosition, GeneratorPosition) Equality(GeneratorPosition, GeneratorPosition)

Compares two GeneratorPosition objects for value equality.

Inequality(GeneratorPosition, GeneratorPosition) Inequality(GeneratorPosition, GeneratorPosition) Inequality(GeneratorPosition, GeneratorPosition) Inequality(GeneratorPosition, GeneratorPosition)

Compares two GeneratorPosition objects for value inequality.

Applies to