public struct PrimitiveValueOrArray
Constructors
Declaration
public PrimitiveValueOrArray(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Declaration
public PrimitiveValueOrArray(byte value)
Parameters
Type |
Name |
Description |
System.Byte |
value |
|
Declaration
public PrimitiveValueOrArray(char value)
Parameters
Type |
Name |
Description |
System.Char |
value |
|
Declaration
public PrimitiveValueOrArray(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Declaration
public PrimitiveValueOrArray(short value)
Parameters
Type |
Name |
Description |
System.Int16 |
value |
|
Declaration
public PrimitiveValueOrArray(int value)
Parameters
Type |
Name |
Description |
System.Int32 |
value |
|
Declaration
public PrimitiveValueOrArray(long value)
Parameters
Type |
Name |
Description |
System.Int64 |
value |
|
Declaration
public PrimitiveValueOrArray(sbyte value)
Parameters
Type |
Name |
Description |
System.SByte |
value |
|
Declaration
public PrimitiveValueOrArray(float value)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
Declaration
public PrimitiveValueOrArray(ushort value)
Parameters
Type |
Name |
Description |
System.UInt16 |
value |
|
Declaration
public PrimitiveValueOrArray(uint value)
Parameters
Type |
Name |
Description |
System.UInt32 |
value |
|
Declaration
public PrimitiveValueOrArray(ulong value)
Parameters
Type |
Name |
Description |
System.UInt64 |
value |
|
Declaration
public PrimitiveValueOrArray(PrimitiveValue value)
Parameters
Properties
Declaration
public object arrayValue { get; set; }
Property Value
Type |
Description |
System.Object |
|
Declaration
public bool isArray { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool isEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public PrimitiveValue primitiveValue { get; set; }
Property Value
Declaration
public TypeCode valueType { get; }
Property Value
Type |
Description |
System.TypeCode |
|
Methods
Declaration
public static PrimitiveValueOrArray FromObject(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Declaration
public static PrimitiveValueOrArray FromString(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()