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
需要取回的視角類型。
傳回
對於指定的類型,或 NSViewnull。
- 屬性