JsonWebServiceContent.FromValue<TValue> method (1 of 2)

Creates a new instance of the JsonWebServiceContent class from a value to be serialized.

public static JsonWebServiceContent<TValue> FromValue<TValue>(TValue value)
parameter description
TValue The type of the value.
value The value.

Return Value

The new instance.

See Also


JsonWebServiceContent.FromValue<TValue> method (2 of 2)

Creates a new instance of the JsonWebServiceContent class from a value to be serialized.

public static JsonWebServiceContent<TValue> FromValue<TValue>(TValue value, JsonSettings? settings)
parameter description
TValue The type of the value.
value The value.
settings The settings.

Return Value

The new instance.

See Also