Share via


DataServiceConfiguration.EnableTypeConversion Property

Gets or sets whether the data service runtime should convert the type that is contained in the payload to the actual property type that is specified in the request.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Property EnableTypeConversion As Boolean 
    Get 
    Set
'Usage
Dim instance As DataServiceConfiguration 
Dim value As Boolean 

value = instance.EnableTypeConversion

instance.EnableTypeConversion = value
public bool EnableTypeConversion { get; set; }
public:
property bool EnableTypeConversion {
    bool get ();
    void set (bool value);
}
member EnableTypeConversion : bool with get, set
function get EnableTypeConversion () : boolean 
function set EnableTypeConversion (value : boolean)

Property Value

Type: System.Boolean
True if the data service runtime should convert the type that is contained in the payload; otherwise, false.

See Also

Reference

DataServiceConfiguration Class

System.Data.Services Namespace

Other Resources

Configuring the Data Service (WCF Data Services)