IRunningObjectTable.GetObject(IMoniker, Object) Méthode

Définition

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

Int32

Valeur HRESULT indiquant le succès ou l'échec de l'opération.

Remarques

Pour plus d’informations, consultez la méthode IRunningObjectTable::GetObject.

S’applique à