Compartilhar via


PerceptionColorFrameSource.CanControlIndependentlyFrom(String) Método

Definição

Esse método retorna um valor booliano que indica se a origem do quadro de cores pode ou não ser controlada separadamente de outra fonte de quadro.

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

Parâmetros

targetId
String

Platform::String

winrt::hstring

Uma cadeia de caracteres que representa a ID exclusiva da outra fonte de quadro.

Retornos

Boolean

bool

Retornará true se as duas fontes puderem ser controladas independentemente umas das outras; caso contrário, retornará false.

Atributos

Aplica-se a