CNLabeledValue<ValueType>.GetLabeledValue Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
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
Returns
The value.
- Attributes
Applies to
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
- Attributes
Applies to
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
- Attributes