true Jeśli dwa wystąpienia są takie same; w przeciwnym razie false .true if the two instances are the same; otherwise, false.
Uwagi
Ta implementacja dotyczy tylko równości odwołań i nie próbuje oszacować równości wartości zawartych właściwości.This implementation is reference equality only, and does not attempt to evaluate value equality of the contained properties.
Uwagi dotyczące dziedziczenia
DependencyObject zastępuje, a następnie wypisuje dwie podstawowe Object metody: Equals(Object) i GetHashCode() .DependencyObject overrides and then seals two basic Object methods: Equals(Object) and GetHashCode().Przesłonięcia wywołują Object implementacje, co skutkuje zachowaniem równości obiektów.The overrides call the Object implementations, resulting in an object equality behavior.Celem tych zamierzonych zastąpień jest uniemożliwienie klasom pochodnym próby zdefiniowania równości wartości dla DependencyObject .The purpose of these deliberate overrides is to prevent derived classes from trying to define a value equality for a DependencyObject.Wartości równe dla DependencyObject nigdy nie będą dokładne, ponieważ wartości właściwości innate zmieniają możliwości DependencyObject i właściwości zależności.Value equalities for DependencyObject will never be accurate because of the innate property value-changing capabilities of a DependencyObject and its dependency properties.Obejmuje to podstawowe [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] funkcje, takie jak powiązanie danych i [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] system właściwości.This includes fundamental [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] features such as data binding and the [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] property system.