语言

SFAuthorizationPluginView.GetView(SFViewType) 方法

定义

返回指定视图类型的视图。

[Foundation.Export("viewForType:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSView? GetView(SecurityInterface.SFViewType viewType);
[<Foundation.Export("viewForType:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetView : SecurityInterface.SFViewType -> AppKit.NSView
override this.GetView : SecurityInterface.SFViewType -> AppKit.NSView

参数

viewType
SFViewType

要检索的视图的类型。

返回

指定 NSView 类型或 null.

特性

适用于