contents.gifindex.gifprev1.gifnext1.gif

GetParameter method

The GetParameter method provides a way for your application to read the value of a CT Access parameter. These parameters are maintained for each application that uses CT Access (or ActiveAG) or they can be global parameters for an entire system under certain conditions (see the CT Access Developers Manual).

Since there are a very large number of parameters for CT Access, ActiveAG does not provide properties for all of them. ActiveAG only provides property interfaces for the most commonly used CT Access parameters. This method allows your application to read the value of CT Access parameters that arent exposed as ActiveAG properties. (Of course, it can also be used to read the values of parameters that are exposed as properties that are exposed but that isnt necessary.)

Type

Arguments: ParameterName BSTR

Returns: A BSTR containing the parameter value if found; otherwise an empty string.

Property interactions: None.