ODataCollectionSerializer Constructors
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
ODataCollectionSerializer(ODataSerializerProvider) |
Initializes a new instance of the ODataCollectionSerializer class. |
ODataCollectionSerializer(ODataSerializerProvider, Boolean) |
Initializes a new instance of the ODataCollectionSerializer class. |
ODataCollectionSerializer(ODataSerializerProvider)
Initializes a new instance of the ODataCollectionSerializer class.
public ODataCollectionSerializer (Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerProvider serializerProvider);
new Microsoft.AspNet.OData.Formatter.Serialization.ODataCollectionSerializer : Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerProvider -> Microsoft.AspNet.OData.Formatter.Serialization.ODataCollectionSerializer
Public Sub New (serializerProvider As ODataSerializerProvider)
Parameters
- serializerProvider
- ODataSerializerProvider
The serializer provider to use to serialize nested objects.
Applies to
ODataCollectionSerializer(ODataSerializerProvider, Boolean)
Initializes a new instance of the ODataCollectionSerializer class.
public ODataCollectionSerializer (Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerProvider serializerProvider, bool isForAnnotations);
new Microsoft.AspNet.OData.Formatter.Serialization.ODataCollectionSerializer : Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerProvider * bool -> Microsoft.AspNet.OData.Formatter.Serialization.ODataCollectionSerializer
Public Sub New (serializerProvider As ODataSerializerProvider, isForAnnotations As Boolean)
Parameters
- serializerProvider
- ODataSerializerProvider
The serializer provider to use to serialize nested objects.
- isForAnnotations
- Boolean
bool value to check if its for instance annotations