NSAppleScript 构造函数

定义

重载

NSAppleScript(NSObjectFlag)
NSAppleScript(IntPtr)
NSAppleScript(String)
NSAppleScript(NSUrl, NSDictionary)

NSAppleScript(NSObjectFlag)

protected NSAppleScript (Foundation.NSObjectFlag t);
new Foundation.NSAppleScript : Foundation.NSObjectFlag -> Foundation.NSAppleScript

参数

适用于

NSAppleScript(IntPtr)

protected internal NSAppleScript (IntPtr handle);
new Foundation.NSAppleScript : nativeint -> Foundation.NSAppleScript

参数

handle
IntPtr

nativeint

适用于

NSAppleScript(String)

[Foundation.Export("initWithSource:")]
[ObjCRuntime.DesignatedInitializer]
public NSAppleScript (string source);
new Foundation.NSAppleScript : string -> Foundation.NSAppleScript

参数

source
String
属性

适用于

NSAppleScript(NSUrl, NSDictionary)

[Foundation.Export("initWithContentsOfURL:error:")]
[ObjCRuntime.DesignatedInitializer]
public NSAppleScript (Foundation.NSUrl url, out Foundation.NSDictionary errorInfo);
new Foundation.NSAppleScript : Foundation.NSUrl *  -> Foundation.NSAppleScript

参数

url
NSUrl
errorInfo
NSDictionary
属性

适用于