共用方式為


NSLayoutConstraint.FromVisualFormat 方法

定義

多載

FromVisualFormat(String, NSLayoutFormatOptions, Object[])
FromVisualFormat(String, NSLayoutFormatOptions, NSDictionary, NSDictionary)

FromVisualFormat(String, NSLayoutFormatOptions, Object[])

public static AppKit.NSLayoutConstraint[] FromVisualFormat (string format, AppKit.NSLayoutFormatOptions formatOptions, params object[] viewsAndMetrics);
static member FromVisualFormat : string * AppKit.NSLayoutFormatOptions * obj[] -> AppKit.NSLayoutConstraint[]

參數

format
String
formatOptions
NSLayoutFormatOptions
viewsAndMetrics
Object[]

傳回

適用於

FromVisualFormat(String, NSLayoutFormatOptions, NSDictionary, NSDictionary)

[Foundation.Export("constraintsWithVisualFormat:options:metrics:views:")]
public static AppKit.NSLayoutConstraint[] FromVisualFormat (string format, AppKit.NSLayoutFormatOptions formatOptions, Foundation.NSDictionary metrics, Foundation.NSDictionary views);
static member FromVisualFormat : string * AppKit.NSLayoutFormatOptions * Foundation.NSDictionary * Foundation.NSDictionary -> AppKit.NSLayoutConstraint[]

參數

format
String
formatOptions
NSLayoutFormatOptions
metrics
NSDictionary
views
NSDictionary

傳回

屬性

適用於