SFChooseIdentityPanel.RunModal(SecIdentity[], String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Displays the panel modally with the specified array of identities and a message.
[Foundation.Export("runModalForIdentities:message:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSModalResponse RunModal(Security.SecIdentity[] identities, string? message);
[<Foundation.Export("runModalForIdentities:message:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RunModal : Security.SecIdentity[] * string -> AppKit.NSModalResponse
override this.RunModal : Security.SecIdentity[] * string -> AppKit.NSModalResponse
Parameters
- identities
- SecIdentity[]
An array of SecIdentity objects to display.
- message
- String
A message to display in the panel, or null.
Returns
The button code that was pressed to dismiss the panel.
- Attributes