CNLabeledValue<ValueType>.FromLabel(String, ValueType) Method

Definition

Creates a new labeled value with the specified label and value.

[Foundation.Export("labeledValueWithLabel:value:")]
public static ValueType FromLabel (string label, ValueType value);
static member FromLabel : string * 'ValueType -> 'ValueType

Parameters

label
String

The label.

This parameter can be null.

value
ValueType

The value.

Returns

ValueType

A new labeled value.

Attributes

Applies to