共用方式為


UIFocusSystem.Contains(IUIFocusEnvironment, IUIFocusEnvironment) 方法

定義

如果 environment 包含 ,則傳 otherEnvironmenttrue 回 。 否則傳回 false

[Foundation.Export("environment:containsEnvironment:")]
public static bool Contains (UIKit.IUIFocusEnvironment environment, UIKit.IUIFocusEnvironment otherEnvironment);
static member Contains : UIKit.IUIFocusEnvironment * UIKit.IUIFocusEnvironment -> bool

參數

environment
IUIFocusEnvironment

可能包含環境的 。

otherEnvironment
IUIFocusEnvironment

可能是巢狀環境。

傳回

屬性

適用於