Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Equals Method
Collapse the table of content
Expand the table of content

StreamingContext.Equals Method

Determines whether two StreamingContext instances contain the same values.

Namespace:  System.Runtime.Serialization
Assemblies:   mscorlib (in mscorlib.dll)
  System.Runtime.Serialization.Primitives (in System.Runtime.Serialization.Primitives.dll)

'Declaration
Public Overrides Function Equals ( _
	obj As Object _
) As Boolean

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft