Visavi Visual OPC .NET  

OpcTextBox.RequestedDataType Property

Gets or sets the RequestedDataType for the bound item of the control.

[Visual Basic]
Public Property RequestedDataType As OpcDataType

[C#]
public OpcDataType RequestedDataType {get; set;}

[C++]
public: __property OpcDataType get_RequestedDataType();
public: __property void set_RequestedDataType(OpcDataType);

[JScript]
public function get RequestedDataType() : OpcDataType;
public function set RequestedDataType(OpcDataType);

Property Value

OpcDataType represting the RequestedDataType for the bound item of the control. The default value is OpcDataType.Empty.

Exceptions

Exception Type Condition
COMException The call (SetState) to the OPC Server failed with the error specified in the COMException.ErrorCode.

Remarks

OpcDataType.Empty (VT_EMPTY) means the client will accept the server's canonical datatype. To see a table of how the VT_XXXX parameters map to this property, see OpcDataType. Also, refer to the excerpt OPC Requested Data Type from the OPC Data Access Specification.

Platforms: Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

OpcTextBox Class | OpcTextBox Members | Visavi.Opc.Client.Forms Namespace