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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.