UIFocusSystem.Contains(IUIFocusEnvironment, IUIFocusEnvironment) 方法

定义

如果 environment 包含 otherEnvironment,则返回 true。 否则返回 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

可能嵌套的环境。

返回

属性

适用于