DotNetParameterTypes

The DotNetParameter.Type property returns one of the following constants to indicate the data type of the parameter:

  • DotNetParamType_Boolean –(Value: 2) Indicates that the parameter is a Boolean type.
  • DotNetParamType_Byte –(Value: 3) Indicates that the parameter is a single-byte value.
  • DotNetParamType_Char –(Value: 14) Indicates that the parameter is a 16-bit Unicode character.
  • DotNetParamType_Class –(Value: 0) Indicates that the parameter is a class reference.
  • DotNetParamType_Decimal –(Value: 13) Indicates that the parameter is a 96-bit numeric value. TestStand treats parameters of this type as 64-bit floating point numbers, so some data could be lost.
  • DotNetParamType_Double –(Value: 12) Indicates that the parameter is a 64-bit double-precision floating point number.
  • DotNetParamType_Enum –(Value: 16) Indicates that the parameter is an enumeration value.
  • DotNetParamType_Int16 –(Value: 5) Indicates that the parameter is a 16-bit integer.
  • DotNetParamType_Int32 –(Value: 6) Indicates that the parameter is a 32-bit integer.
  • DotNetParamType_Int64 –(Value: 7) Indicates that the parameter is a 64-bit integer.
  • DotNetParamType_IntPtr –(Value: 15) A platform-specific type that stores a pointer or a handle. For a 32-bit process, the pointer or handle is stored as a 32-bit integer. For a 64-bit process, the pointer or handle is stored as a 64-bit integer.
  • DotNetParamType_Object –(Value: 17) Indicates that the parameter is an object reference.
  • DotNetParamType_SByte –(Value: 4) Indicates that the parameter is a signed-byte value.
  • DotNetParamType_Single –(Value: 11) Indicates that the parameter is a 32-bit single-precision floating point number.
  • DotNetParamType_String –(Value: 1) Indicates that the parameter is a string.
  • DotNetParamType_Struct –(Value: 18) Indicates that the parameter is a struct.
  • DotNetParamType_UInt16 –(Value: 8) Indicates that the parameter is a 16-bit unsigned integer.
  • DotNetParamType_UInt32 –(Value: 9) Indicates that the parameter is a 32-bit unsigned integer.
  • DotNetParamType_UInt64 –(Value: 10) Indicates that the parameter is a 64-bit unsigned integer.
  • DotNetParamType_UIntPtr –(Value: 20) A platform-specific type that stores a pointer or a handle. For a 32-bit process, the pointer or handle is stored as an unsigned 32-bit integer. For a 64-bit process, the pointer or handle is stored as an unsigned 64-bit integer.
  • DotNetParamType_Void –(Value: 19) Indicates that the parameter is a void parameter; therefore, it has no value. This type applies only to return values.

See Also

DotNetParameter.Type