語言

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

需要取回的視角類型。

傳回

對於指定的類型,或 NSViewnull。

屬性

適用於