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
- 屬性