SetProperty method

Sets a property.

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

  • val   The property value.

Remarks

The property type must be one of the acceptable primitive types, or String.

For more information about getting and setting message headers and properties, see Introduction to QAnywhere messages.

See also