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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.