ObjectReferenceService.TryGetObject(Guid, Object) 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.
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
Parameters
- objectReferenceId
- Guid
The activity reference.
- obj
- Object
The de-referenced activity, if the reference is available, or null otherwise.
Returns
true
if the actual reference to the object is obtained by the object reference; otherwise, false
.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.