IXlsVisualComponentParameter
COM interface ( getting help with interfaces )

 

interface IXlsVisualComponentParameter : IDispatch
{
  [id(1),propget] HRESULT Name([out, retval] BSTR* pbstrName);
  [id(2),propget] HRESULT Type([out, retval] enumDataType* parametertype);
  [id(3),propget] HRESULT NativeType([out, retval] BSTR* parameternativetype);
  [id(4),propget] HRESULT Formula([out, retval] BSTR* pvValue);
  [id(4),propput] HRESULT Formula([in] BSTR pvValue);
}

 

HRESULT Name([out, retval] BSTR* pbstrName);
returns the name of the parameter.

HRESULT Type([out, retval] enumDataType* parametertype);
returns the data type of the parameter. Note that the data type does not include its cardinality, i.e. whether it's a single value, a vector (1D) or a matrix (2D).

HRESULT NativeType([out, retval] BSTR* parameternativetype);
returns the native data type of the parameter. The native type is the data type of the parameter known as per the underlying component COM IDL interface.

HRESULT Formula([out, retval] BSTR* pvValue);
returns the value for the parameter. Restricted to single value cardinalities.

HRESULT Formula([in] BSTR pvValue);
sets the value for the parameter. The value can be a single value, a cell reference, an area or a general formula.