Click or drag to resize

MvValue Class

Encapsulates the value of the runtime attributes attached to representation objects.
Inheritance Hierarchy
SystemObject
  RW.Server.ComponentMvValue

Namespace:  RW.Server.Component
Assembly:  RW.Server.Component (in RW.Server.Component.dll) Version: 6.5.0.0 (6.5.0.0)
Syntax
public class MvValue

The MvValue type exposes the following members.

Constructors
  NameDescription
Public methodMvValue(MvValue)
Copy constructor.
Public methodMvValue(Object, MvDataType)
Initializes a new MvValue from a value and a target type.
Public methodMvValue(Object, MvKind)
Initializes a new MvValue from a value and a value kind.
Top
Properties
  NameDescription
Public propertyKind
Gets the kind of value.
Public propertyValue
Gets the value.
Top
Methods
  NameDescription
Public methodAsAny
Converts to Any.
Public methodAsBoolean
Converts to bool.
Public methodAsChar
Converts to char.
Public methodAsDouble
Converts to double.
Public methodAsFile
Converts to MvFile.
Public methodAsFloat
Converts to float.
Public methodAsHRef
Converts to HRef.
Public methodAsInt
Converts to int.
Public methodAsLong
Converts to long.
Public methodAsRef
Converts to MvRef.
Public methodAsString
Converts to string.
Public methodAsUserValue
Converts to MvUserType.
Public methodSet
Sets a new content.
Public methodStream
Serializes the object into a message.
Public methodStatic memberUnstream
Builds an MvValue from MvMessage data.
Top
Operators
Remarks

The Rogue Wave Server internal protocol uses this class to transmit attribute values between an object server and an application component.

Conversion: Conversion functions take the following form:

Type AsType(bool direct, Type default)
If the requested type is exactly the same as that of the stored value, the value is returned. Otherwise, default is returned.

See Also