PerceptionColorFrameSource.CanControlIndependentlyFrom(String) Method

Definition

This method returns a boolean value indicating whether or not the color frame source can be controlled separately from another frame source.

public:
 virtual bool CanControlIndependentlyFrom(Platform::String ^ targetId) = CanControlIndependentlyFrom;
bool CanControlIndependentlyFrom(winrt::hstring const& targetId);
/// [Windows.Foundation.Metadata.Deprecated("PerceptionColorFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
bool CanControlIndependentlyFrom(winrt::hstring const& targetId);
public bool CanControlIndependentlyFrom(string targetId);
[Windows.Foundation.Metadata.Deprecated("PerceptionColorFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public bool CanControlIndependentlyFrom(string targetId);
function canControlIndependentlyFrom(targetId)
Public Function CanControlIndependentlyFrom (targetId As String) As Boolean

Parameters

targetId
String

Platform::String

winrt::hstring

A string representing the unique ID of the other frame source.

Returns

Boolean

bool

Returns true if the two sources can be controlled independently of one another, otherwise returns false.

Attributes

Applies to