Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

MsgPropertyCollection.TryGetValue Method

Namespace: Rebex.Mail
Assembly: Rebex.Msg.dll (version 7.0.9147)

TryGetValue<T>(MsgPropertyTag, out T)

Gets the value of a property specified by the property Tag.

Declaration
public bool TryGetValue<T>(MsgPropertyTag tag, out T value)
Parameters
Type Name Description
MsgPropertyTag tag

Tag of the property to return.

T value

Contains the value of the property, if the property is present and has appropriate data type.

Returns
Type Description
Boolean

True if the property with appropriate data type is present; false otherwise.

Type Parameters
Name Description
T

Type of the value to return.

In This Article
  • TryGetValue<T>(MsgPropertyTag, out T)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies