WebSphere Message Service Clients for C/C++ and .NET, Version 1.2 Operating Systems: Linux, Windows

Getting and setting properties in .NET

A .NET application uses the methods in the PropertyContext interface to get and set the properties of objects.

The PropertyContext interface encapsulates methods that get and set properties. These methods are inherited, directly or indirectly, by the following classes:

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, in .NET XMS property names and values are predefined as public constants in a class called XMSC. The names of these constants are in the form XMSC.USERID. Alternatively, you can use the XMS property names used in C or C++, which are in the form "XMSC_USERID". In this case, the property name must be provided as a string.


Concept topic

Terms of Use | Rate this page

Last updated: 7 Dec 2005

© Copyright IBM Corporation 2005. All Rights Reserved.