ObjectReferenceService.TryGetObject(Guid, Object) Método
Definição
Obtém a referência real ao objeto por sua ObjectReference.Obtains the actual reference to the object by its ObjectReference.
public:
bool TryGetObject(Guid objectReferenceId, [Runtime::InteropServices::Out] System::Object ^ % obj);
public bool TryGetObject (Guid objectReferenceId, out object obj);
member this.TryGetObject : Guid * obj -> bool
Public Function TryGetObject (objectReferenceId As Guid, ByRef obj As Object) As Boolean
Parâmetros
- objectReferenceId
- Guid
A referência de atividade.The activity reference.
- obj
- Object
A atividade de remoção de referência, se a referência estiver disponível; caso contrário, nulo.The de-referenced activity, if the reference is available, or null otherwise.
Retornos
true se a referência real para o objeto for obtida pela referência de objeto; caso contrário, false.true if the actual reference to the object is obtained by the object reference; otherwise, false.