A .NET application uses the methods in the PropertyContext interface to get and set the properties of objects.
If an application sets the value of a property, the new value replaces any previous value the property had.
For further information about XMS properties, see Properties of XMS objects.
For ease of use, XMS property names and values in .NET are predefined as public constants in a struct called XMSC. The names of these constants are in the form XMSC.<constant>; for example, XMSC.USERID (a property name constant) and XMSC.DELIVERY_AS_APP (a value constant).
Additionally, you can access WebSphere MQ constants by using the IBM.XMS.MQC struct. If you have already imported the IBM.XMS namespace, this means you can access the values for these properties in the form MQC.<constant>. For example, MQC.MQRO_COA_WITH_FULL_DATA.
Furthermore, if you have a hybrid application that uses both XMS .NET and WebSphere MQ classes for .NET and that imports both IBM.XMS and IBM.WMQ namespaces, then you must fully qualify the MQC struct namespace to ensure that each occurence is unique.
Some advanced functionality is not currently supported within the managed .NET environment. Refer to Managed and unmanaged operations in .NET for more details.