Partager via


DataTemplateKey.Equals Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns a value that indicates whether the specified object is a DataTemplateKey that has the same DataType property value as the current DataTemplateKey.

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

Syntax

'Declaration
Public Overrides Function Equals ( _
    o As Object _
) As Boolean
public override bool Equals(
    Object o
)

Parameters

  • o
    Type: System.Object
    The object to compare to the current object.

Return Value

Type: System.Boolean
true if o is equivalent to the current object; otherwise, false.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.