EKM Client API

- Main Page
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Static Public Member Functions
com::ansys::ingress::connector::model::VariantFactory Class Reference

VariantFactory is used to create instances of Variants from various value types. More...

List of all members.

## Static Public Member Functions

static Variant | CreateVariant (string value)
| Creates a Variant from a string value.
static Variant | CreateVariant (Dictionary< string, Variant > value)
| Creates a Variant from a dictionary of Variants.
static Variant | CreateVariant (List< string > strings)
| Creates a Variant from a list of strings.
static Variant | CreateVariant (bool b)
| Creates a Variant from a boolean value.
static Variant | CreateVariant (double d)
| Creates a Variant from a double value.
static Variant | CreateVariant (long l)
| Creates a Variant from a long value.
static Variant | CreateVariant (DateTime dateTime)
| Creates a Variant from a DateTime value.

## Detailed Description

VariantFactory is used to create instances of Variants from various value types.

## Member Function Documentation

static Variant com::ansys::ingress::connector::model::VariantFactory::CreateVariant | ( | string | value | ) | `[inline, static]`

Creates a Variant from a string value.

Parameters:

  value | The value

Returns:
  Returns a new Variant instance.

static Variant com::ansys::ingress::connector::model::VariantFactory::CreateVariant | ( | DateTime | dateTime | ) | `[inline, static]`

Creates a Variant from a DateTime value.

Parameters:

  dateTime | the value

Returns:
  Returns a Variant of type DATE.

static Variant com::ansys::ingress::connector::model::VariantFactory::CreateVariant | ( | long | l | ) | `[inline, static]`

Creates a Variant from a long value.

Parameters:

  l | The value

Returns:
  Returns a Variant of type LONG.

static Variant com::ansys::ingress::connector::model::VariantFactory::CreateVariant | ( | double | d | ) | `[inline, static]`

Creates a Variant from a double value.

Parameters:

  l | The value

Returns:
  Returns a Variant of type LONG.

static Variant com::ansys::ingress::connector::model::VariantFactory::CreateVariant | ( | bool | b | ) | `[inline, static]`

Creates a Variant from a boolean value.

Parameters:

  b | The boolean value

Returns:
  Returns a Variant of type BOOLEAN.

static Variant com::ansys::ingress::connector::model::VariantFactory::CreateVariant | ( | List< string > | strings | ) | `[inline, static]`

Creates a Variant from a list of strings.

Parameters:

  strings | The values for the list

Returns:
  Returns a Variant of type LIST

static Variant com::ansys::ingress::connector::model::VariantFactory::CreateVariant | ( | Dictionary< string, Variant > | value | ) | `[inline, static]`

Creates a Variant from a dictionary of Variants.

Parameters:

  value | The dictionary.

Returns:
  Returns a new Variant instance.

The documentation for this class was generated from the following file:

- VariantFactory.cs

All Classes Namespaces Functions Variables Enumerations Properties