Equality Operator
Collapse the table of content
Expand the table of content

GeneratorPosition.Equality Operator

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Compares two GeneratorPosition objects for value equality.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)

public static bool operator ==(
	GeneratorPosition gp1,
	GeneratorPosition gp2


Type: System.Windows.Controls.Primitives.GeneratorPosition
The first instance to compare.
Type: System.Windows.Controls.Primitives.GeneratorPosition
The second instance to compare.

Return Value

Type: System.Boolean
true if the two objects are equal; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft