GeneratorPosition.Equality Operator (GeneratorPosition, GeneratorPosition)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

equivalentCodeEntityM:System.Windows.Controls.Primitives.GeneratorPosition.Equals(System.Windows.Controls.Primitives.GeneratorPosition,System.Windows.Controls.Primitives.GeneratorPosition)

Compares two GeneratorPosition objects for value equality.

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

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

Parameters

gp1
Type: System.Windows.Controls.Primitives.GeneratorPosition

The first instance to compare.

gp2
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.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: