Edytuj

Udostępnij za pośrednictwem


CNLabeledValue<ValueType>.GetLabeledValue Method

Definition

Overloads

GetLabeledValue(String)

Returns a value for a label.

GetLabeledValue(ValueType)

Returns a value for a label.

GetLabeledValue(String, ValueType)

Returns a value for a label, with the current identifier.

GetLabeledValue(String)

Returns a value for a label.

[Foundation.Export("labeledValueBySettingLabel:")]
public virtual ValueType GetLabeledValue (string label);
abstract member GetLabeledValue : string -> 'ValueType
override this.GetLabeledValue : string -> 'ValueType

Parameters

label
String

The label for which to retrieve the value.

This parameter can be null.

Returns

ValueType

The value.

Attributes

Applies to

GetLabeledValue(ValueType)

Returns a value for a label.

[Foundation.Export("labeledValueBySettingValue:")]
public virtual ValueType GetLabeledValue (ValueType value);
abstract member GetLabeledValue : 'ValueType -> 'ValueType
override this.GetLabeledValue : 'ValueType -> 'ValueType

Parameters

value
ValueType

The label for which to retrieve the labeled value.

Returns

ValueType
Attributes

Applies to

GetLabeledValue(String, ValueType)

Returns a value for a label, with the current identifier.

[Foundation.Export("labeledValueBySettingLabel:value:")]
public virtual ValueType GetLabeledValue (string label, ValueType value);
abstract member GetLabeledValue : string * 'ValueType -> 'ValueType
override this.GetLabeledValue : string * 'ValueType -> 'ValueType

Parameters

label
String

The label of the copied object, or null if the contact property lacks a label.

This parameter can be null.

value
ValueType

The copied value.

Returns

ValueType
Attributes

Applies to