SFAuthorizationPluginView.GetView(SFViewType) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回指定视图类型的视图。
[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.
- 特性