ODataObjectModelExtensions.SetSerializationInfo 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
SetSerializationInfo(ODataCollectionStart, ODataCollectionStartSerializationInfo)
Provide additional serialization information to the ODataCollectionWriter for collectionStart
.
public static void SetSerializationInfo (this Microsoft.OData.ODataCollectionStart collectionStart, Microsoft.OData.ODataCollectionStartSerializationInfo serializationInfo);
static member SetSerializationInfo : Microsoft.OData.ODataCollectionStart * Microsoft.OData.ODataCollectionStartSerializationInfo -> unit
<Extension()>
Public Sub SetSerializationInfo (collectionStart As ODataCollectionStart, serializationInfo As ODataCollectionStartSerializationInfo)
Parameters
- collectionStart
- ODataCollectionStart
The instance to set the serialization info.
- serializationInfo
- ODataCollectionStartSerializationInfo
The serialization info to set.
Applies to
SetSerializationInfo(ODataDeltaDeletedEntry, ODataDeltaSerializationInfo)
Provide additional serialization information to the ODataDeltaWriter for deltaDeletedEntry
.
public static void SetSerializationInfo (this Microsoft.OData.ODataDeltaDeletedEntry deltaDeletedEntry, Microsoft.OData.ODataDeltaSerializationInfo serializationInfo);
static member SetSerializationInfo : Microsoft.OData.ODataDeltaDeletedEntry * Microsoft.OData.ODataDeltaSerializationInfo -> unit
<Extension()>
Public Sub SetSerializationInfo (deltaDeletedEntry As ODataDeltaDeletedEntry, serializationInfo As ODataDeltaSerializationInfo)
Parameters
- deltaDeletedEntry
- ODataDeltaDeletedEntry
The instance to set the serialization info.
- serializationInfo
- ODataDeltaSerializationInfo
The serialization info to set.
Applies to
SetSerializationInfo(ODataDeltaDeletedEntry, ODataResourceSerializationInfo)
Provide additional serialization information to the ODataDeltaWriter for deltaDeletedEntry
.
public static void SetSerializationInfo (this Microsoft.OData.ODataDeltaDeletedEntry deltaDeletedEntry, Microsoft.OData.ODataResourceSerializationInfo serializationInfo);
static member SetSerializationInfo : Microsoft.OData.ODataDeltaDeletedEntry * Microsoft.OData.ODataResourceSerializationInfo -> unit
<Extension()>
Public Sub SetSerializationInfo (deltaDeletedEntry As ODataDeltaDeletedEntry, serializationInfo As ODataResourceSerializationInfo)
Parameters
- deltaDeletedEntry
- ODataDeltaDeletedEntry
The instance to set the serialization info.
- serializationInfo
- ODataResourceSerializationInfo
The serialization info to set.
Applies to
SetSerializationInfo(ODataDeltaLinkBase, ODataDeltaSerializationInfo)
Provide additional serialization information to the ODataDeltaWriter for deltalink
.
public static void SetSerializationInfo (this Microsoft.OData.ODataDeltaLinkBase deltalink, Microsoft.OData.ODataDeltaSerializationInfo serializationInfo);
static member SetSerializationInfo : Microsoft.OData.ODataDeltaLinkBase * Microsoft.OData.ODataDeltaSerializationInfo -> unit
<Extension()>
Public Sub SetSerializationInfo (deltalink As ODataDeltaLinkBase, serializationInfo As ODataDeltaSerializationInfo)
Parameters
- deltalink
- ODataDeltaLinkBase
The instance to set the serialization info.
- serializationInfo
- ODataDeltaSerializationInfo
The serialization info to set.
Applies to
SetSerializationInfo(ODataDeltaResourceSet, ODataDeltaResourceSetSerializationInfo)
Provide additional serialization information to the ODataDeltaWriter for deltaResourceSet
.
public static void SetSerializationInfo (this Microsoft.OData.ODataDeltaResourceSet deltaResourceSet, Microsoft.OData.ODataDeltaResourceSetSerializationInfo serializationInfo);
static member SetSerializationInfo : Microsoft.OData.ODataDeltaResourceSet * Microsoft.OData.ODataDeltaResourceSetSerializationInfo -> unit
<Extension()>
Public Sub SetSerializationInfo (deltaResourceSet As ODataDeltaResourceSet, serializationInfo As ODataDeltaResourceSetSerializationInfo)
Parameters
- deltaResourceSet
- ODataDeltaResourceSet
The instance to set the serialization info.
- serializationInfo
- ODataDeltaResourceSetSerializationInfo
The serialization info to set.
Applies to
SetSerializationInfo(ODataDeltaResourceSet, ODataResourceSerializationInfo)
Provide additional serialization information to the ODataDeltaWriter for deltaResourceSet
.
public static void SetSerializationInfo (this Microsoft.OData.ODataDeltaResourceSet deltaResourceSet, Microsoft.OData.ODataResourceSerializationInfo serializationInfo);
static member SetSerializationInfo : Microsoft.OData.ODataDeltaResourceSet * Microsoft.OData.ODataResourceSerializationInfo -> unit
<Extension()>
Public Sub SetSerializationInfo (deltaResourceSet As ODataDeltaResourceSet, serializationInfo As ODataResourceSerializationInfo)
Parameters
- deltaResourceSet
- ODataDeltaResourceSet
The instance to set the serialization info.
- serializationInfo
- ODataResourceSerializationInfo
The serialization info to set.
Applies to
SetSerializationInfo(ODataNestedResourceInfo, ODataNestedResourceInfoSerializationInfo)
Provide additional serialization information to the ODataWriter for nestedResourceInfo
.
public static void SetSerializationInfo (this Microsoft.OData.ODataNestedResourceInfo nestedResourceInfo, Microsoft.OData.ODataNestedResourceInfoSerializationInfo serializationInfo);
static member SetSerializationInfo : Microsoft.OData.ODataNestedResourceInfo * Microsoft.OData.ODataNestedResourceInfoSerializationInfo -> unit
<Extension()>
Public Sub SetSerializationInfo (nestedResourceInfo As ODataNestedResourceInfo, serializationInfo As ODataNestedResourceInfoSerializationInfo)
Parameters
- nestedResourceInfo
- ODataNestedResourceInfo
The instance to set the serialization info.
- serializationInfo
- ODataNestedResourceInfoSerializationInfo
The serialization info to set.
Applies to
SetSerializationInfo(ODataProperty, ODataPropertySerializationInfo)
Provide additional serialization information to the ODataWriter for property
.
public static void SetSerializationInfo (this Microsoft.OData.ODataProperty property, Microsoft.OData.ODataPropertySerializationInfo serializationInfo);
static member SetSerializationInfo : Microsoft.OData.ODataProperty * Microsoft.OData.ODataPropertySerializationInfo -> unit
<Extension()>
Public Sub SetSerializationInfo (property As ODataProperty, serializationInfo As ODataPropertySerializationInfo)
Parameters
- property
- ODataProperty
The instance to set the serialization info.
- serializationInfo
- ODataPropertySerializationInfo
The serialization info to set.
Applies to
SetSerializationInfo(ODataResource, ODataResourceSerializationInfo)
Provide additional serialization information to the ODataWriter for resource
.
public static void SetSerializationInfo (this Microsoft.OData.ODataResource resource, Microsoft.OData.ODataResourceSerializationInfo serializationInfo);
static member SetSerializationInfo : Microsoft.OData.ODataResource * Microsoft.OData.ODataResourceSerializationInfo -> unit
<Extension()>
Public Sub SetSerializationInfo (resource As ODataResource, serializationInfo As ODataResourceSerializationInfo)
Parameters
- resource
- ODataResource
The instance to set the serialization info.
- serializationInfo
- ODataResourceSerializationInfo
The serialization info to set.
Applies to
SetSerializationInfo(ODataResourceBase, ODataResourceSerializationInfo)
Provide additional serialization information to the ODataWriter for resource
.
public static void SetSerializationInfo (this Microsoft.OData.ODataResourceBase resource, Microsoft.OData.ODataResourceSerializationInfo serializationInfo);
static member SetSerializationInfo : Microsoft.OData.ODataResourceBase * Microsoft.OData.ODataResourceSerializationInfo -> unit
<Extension()>
Public Sub SetSerializationInfo (resource As ODataResourceBase, serializationInfo As ODataResourceSerializationInfo)
Parameters
- resource
- ODataResourceBase
The instance to set the serialization info.
- serializationInfo
- ODataResourceSerializationInfo
The serialization info to set.
Applies to
SetSerializationInfo(ODataResourceSet, ODataResourceSerializationInfo)
Provide additional serialization information to the ODataWriter for resourceSet
.
public static void SetSerializationInfo (this Microsoft.OData.ODataResourceSet resourceSet, Microsoft.OData.ODataResourceSerializationInfo serializationInfo);
static member SetSerializationInfo : Microsoft.OData.ODataResourceSet * Microsoft.OData.ODataResourceSerializationInfo -> unit
<Extension()>
Public Sub SetSerializationInfo (resourceSet As ODataResourceSet, serializationInfo As ODataResourceSerializationInfo)
Parameters
- resourceSet
- ODataResourceSet
The instance to set the serialization info.
- serializationInfo
- ODataResourceSerializationInfo
The serialization info to set.