CodeActivityPublicEnvironmentAccessor.TryGetReferenceToPublicLocation 方法

定义

返回指示活动是否会尝试获取公共位置的引用的值。

public:
 bool TryGetReferenceToPublicLocation(System::Activities::LocationReference ^ publicReference, [Runtime::InteropServices::Out] System::Activities::LocationReference ^ % equivalentReference);
public bool TryGetReferenceToPublicLocation (System.Activities.LocationReference publicReference, out System.Activities.LocationReference equivalentReference);
member this.TryGetReferenceToPublicLocation : System.Activities.LocationReference * LocationReference -> bool
Public Function TryGetReferenceToPublicLocation (publicReference As LocationReference, ByRef equivalentReference As LocationReference) As Boolean

参数

publicReference
LocationReference

公共参考位置。

equivalentReference
LocationReference

等效引用位置。

返回

如果活动将尝试获取公共位置的引用,则为 true;否则为 false

适用于