Equals Method
Collapse the table of content
Expand the table of content

StreamingContext.Equals Method

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

Determines whether two StreamingContext instances contain the same values.

Namespace:  System.Runtime.Serialization
Assembly:  mscorlib (in mscorlib.dll)

public override bool Equals(
	Object obj
)

Parameters

obj
Type: System.Object
An object to compare with the current instance.

Return Value

Type: System.Boolean
true if the specified object is an instance of StreamingContext and equals the value of the current instance; otherwise, false.

Two code groups are equivalent if they have the same Context() and State().

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft