GetProperty method

Gets a message property.

Syntax
Visual Basic
Public Function GetProperty( _
   ByVal propName As String _
) As Object
C#
public object GetProperty(
   string  propName
);
Parameters
  • propName   The property name.

Return value

The property value.

Remarks

The property must be one of the acceptable primitive types, string, or DateTime.

Exceptions