IsEquivalentTo Method (IEdmTypeReference, IEdmTypeReference)
Collapse the table of content
Expand the table of content

EdmElementComparer.IsEquivalentTo Method (IEdmTypeReference, IEdmTypeReference)

WCF Data Services 5.0

Indicates whether the compared type is semantically equivalent to this type.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

public static bool IsEquivalentTo(
	this IEdmTypeReference thisType,
	IEdmTypeReference otherType


Type: Microsoft.Data.Edm.IEdmTypeReference
Reference to the calling object.
Type: Microsoft.Data.Edm.IEdmTypeReference
Type being compared to.

Return Value

Type: System.Boolean
true if the compared type is semantically equivalent to this type; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmTypeReference. When you use instance method syntax to call this method, omit the first parameter. For more information, see or
© 2016 Microsoft