IRunningObjectTable.GetObject(IMoniker, 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.
Retourne l'objet inscrit si le nom d'objet fourni est inscrit comme en cours d'exécution.
public:
int GetObject(System::Runtime::InteropServices::ComTypes::IMoniker ^ pmkObjectName, [Runtime::InteropServices::Out] System::Object ^ % ppunkObject);
public int GetObject (System.Runtime.InteropServices.ComTypes.IMoniker pmkObjectName, out object ppunkObject);
abstract member GetObject : System.Runtime.InteropServices.ComTypes.IMoniker * obj -> int
Public Function GetObject (pmkObjectName As IMoniker, ByRef ppunkObject As Object) As Integer
Paramètres
- pmkObjectName
- IMoniker
Référence au moniker à rechercher dans la table ROT (Running Object Table).
- ppunkObject
- Object
Lorsque cette méthode retourne une valeur, contient l'objet en cours d'exécution demandé. Ce paramètre est passé sans être initialisé.
Retours
Valeur HRESULT
indiquant le succès ou l'échec de l'opération.
Remarques
Pour plus d’informations, consultez Méthode IRunningObjectTable ::GetObject.
S’applique à
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