Partager via


Material.Equals(Object) Method (Microsoft.DirectX.Direct3D)

Returns a value that indicates whether the current instance is equal to a specified object.

Definition

Visual Basic Overrides Public Function Equals( _
    ByVal compare As Object _
) As Boolean
C# public override bool Equals(
    object compare
);
C++ public:
virtual bool Equals(
    ObjectLeave Sitecompare
) override;
JScript public override function Equals(
    compare : ObjectLeave Site
) : boolean;

Parameters

compare System.Object
Object to compare to this object.

Return Value

System.Boolean
Returns true if the objects are the same; otherwise, false.