MapiPropertyCollection.TryGetValue

MapiPropertyCollection.TryGetValue method

Gets the property with the specified tag, if there is one.

public bool TryGetValue(long key, out MapiProperty value)
ParameterTypeDescription
keyInt64The tag of the property.
valueMapiProperty&When this method returns, the property, or null if the collection does not contain it.

Return Value

true if the collection contains the property; otherwise, false.

See Also