NSBox 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
NSBox() | |
NSBox(CGRect) | |
NSBox(NSCoder) | |
NSBox(NSObjectFlag) | |
NSBox(IntPtr) |
NSBox()
NSBox(CGRect)
[Foundation.Export("initWithFrame:")]
public NSBox(CoreGraphics.CGRect frameRect);
new AppKit.NSBox : CoreGraphics.CGRect -> AppKit.NSBox
参数
- frameRect
- CGRect
- 属性
适用于
NSBox(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSBox(Foundation.NSCoder coder);
new AppKit.NSBox : Foundation.NSCoder -> AppKit.NSBox
参数
- coder
- NSCoder
- 属性
适用于
NSBox(NSObjectFlag)
protected NSBox(Foundation.NSObjectFlag t);
new AppKit.NSBox : Foundation.NSObjectFlag -> AppKit.NSBox
参数
适用于
NSBox(IntPtr)
protected internal NSBox(IntPtr handle);
new AppKit.NSBox : nativeint -> AppKit.NSBox
参数
- handle
-
IntPtr
nativeint