PrimitiveValueConversions.Marshal Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Marshal(Object, FormulaType) | |
| Marshal(Object, Type) |
Marshal a primitive type. For complex types, use a TypeMarshallerCache or other explicit methods. |
Marshal(Object, FormulaType)
public static Microsoft.PowerFx.Types.FormulaValue Marshal(object value, Microsoft.PowerFx.Types.FormulaType fxType);
static member Marshal : obj * Microsoft.PowerFx.Types.FormulaType -> Microsoft.PowerFx.Types.FormulaValue
Public Shared Function Marshal (value As Object, fxType As FormulaType) As FormulaValue
Parameters
- value
- Object
- fxType
- FormulaType
Returns
Applies to
Marshal(Object, Type)
Marshal a primitive type. For complex types, use a TypeMarshallerCache or other explicit methods.
public static Microsoft.PowerFx.Types.FormulaValue Marshal(object value, Type type);
static member Marshal : obj * Type -> Microsoft.PowerFx.Types.FormulaValue
Public Shared Function Marshal (value As Object, type As Type) As FormulaValue
Parameters
- value
- Object
value to marhal.
- type
- Type
type of the value object, needed in case value is null.