IReferenceService.GetComponent(Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient le composant qui contient le composant spécifié.
public:
System::ComponentModel::IComponent ^ GetComponent(System::Object ^ reference);
public System.ComponentModel.IComponent GetComponent (object reference);
public System.ComponentModel.IComponent? GetComponent (object reference);
abstract member GetComponent : obj -> System.ComponentModel.IComponent
Public Function GetComponent (reference As Object) As IComponent
Paramètres
- reference
- Object
Objet pour lequel le composant parent doit être récupéré.
Retours
IComponent de base contenant l'objet spécifié, ou null s'il n'existe aucun composant parent.