TnefPropertyTryGetValuesT Method

Get the values of a multi-valued property.

Definition

Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool TryGetValues<T>(
	out T[] values
)

Parameters

values  T
The values.

Type Parameters

T
The type of the values.

Return Value

Boolean
if the values are of type T; otherwise, .

Remarks

Gets the values of the property as an array of the specified type.

For a multi-valued property, T must be the native type of the property's values (see Value). For a single-valued property, the value is returned as a one-element array if it is of type T.

See Also