NSAppleScript 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
- 属性