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