Equals Method (Guid)
Collapse the table of content
Expand the table of content

Guid.Equals Method (Guid)

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

Returns a value indicating whether this instance and a specified Guid object represent the same value.

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

'Declaration
Public Function Equals ( _
	g As Guid _
) As Boolean

Parameters

g
Type: System.Guid
A Guid object to compare to this instance.

Return Value

Type: System.Boolean
true if g is equal to this instance; otherwise, false.

Implements

IEquatable(Of T).Equals(T)

This method performs slightly better than the Equals method because it does not have to box the g parameter.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft