Condividi tramite


PerceptionColorFrameSource.CanControlIndependentlyFrom(String) Metodo

Definizione

Questo metodo restituisce un valore booleano che indica se l'origine della cornice di colore può essere controllata separatamente da un'altra origine frame.

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

Parametri

targetId
String

Platform::String

winrt::hstring

Stringa che rappresenta l'ID univoco dell'altra origine frame.

Restituisce

Boolean

bool

Restituisce true se le due origini possono essere controllate in modo indipendente tra loro, in caso contrario restituisce false.

Attributi

Si applica a