SetStoreProperty method

Sets a pre-defined or custom message store property to a System.Object value.

Syntax
Visual Basic
Public Sub SetStoreProperty( _
   ByVal propName As String, _
   ByVal val As Object _
)
C#
public void SetStoreProperty(
   string  propName,
   object val
);
Parameters
  • propName   The pre-defined or custom property name.

  • val   The property value.

Remarks

The property type must be one of the acceptable primitive types, or String. You can use this method to set pre-defined or user-defined client store properties.

For a list of pre-defined properties, see MessageStoreProperties class.

For more information, see Client message store properties.

See also