DependencyObjectType.IsInstanceOfType(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified object is an instance of the current DependencyObjectType.
public:
bool IsInstanceOfType(System::Windows::DependencyObject ^ dependencyObject);
public bool IsInstanceOfType (System.Windows.DependencyObject dependencyObject);
member this.IsInstanceOfType : System.Windows.DependencyObject -> bool
Public Function IsInstanceOfType (dependencyObject As DependencyObject) As Boolean
Parameters
- dependencyObject
- DependencyObject
The object to compare with the current DependencyObjectType.
Returns
true
if the class represented by the current DependencyObjectType is in the inheritance hierarchy of the DependencyObject passed as d
; otherwise, false
.
Remarks
Objects of the exact same type return true
.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour