Share via


ODataMessageWriterSettings.SetAtomEntryXmlCustomization Method

Sets the customization XML format for Atom entry.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Sub SetAtomEntryXmlCustomization ( _
    atomStartEntryXmlCustomizationCallback As Func(Of ODataEntry, XmlWriter, XmlWriter), _
    atomEndEntryXmlCustomizationCallback As Action(Of ODataEntry, XmlWriter, XmlWriter) _
)
'Usage
Dim instance As ODataMessageWriterSettings 
Dim atomStartEntryXmlCustomizationCallback As Func(Of ODataEntry, XmlWriter, XmlWriter)
Dim atomEndEntryXmlCustomizationCallback As Action(Of ODataEntry, XmlWriter, XmlWriter)

instance.SetAtomEntryXmlCustomization(atomStartEntryXmlCustomizationCallback, _
    atomEndEntryXmlCustomizationCallback)
public void SetAtomEntryXmlCustomization(
    Func<ODataEntry, XmlWriter, XmlWriter> atomStartEntryXmlCustomizationCallback,
    Action<ODataEntry, XmlWriter, XmlWriter> atomEndEntryXmlCustomizationCallback
)
public:
void SetAtomEntryXmlCustomization(
    Func<ODataEntry^, XmlWriter^, XmlWriter^>^ atomStartEntryXmlCustomizationCallback, 
    Action<ODataEntry^, XmlWriter^, XmlWriter^>^ atomEndEntryXmlCustomizationCallback
)
member SetAtomEntryXmlCustomization : 
        atomStartEntryXmlCustomizationCallback:Func<ODataEntry, XmlWriter, XmlWriter> * 
        atomEndEntryXmlCustomizationCallback:Action<ODataEntry, XmlWriter, XmlWriter> -> unit
public function SetAtomEntryXmlCustomization(
    atomStartEntryXmlCustomizationCallback : Func<ODataEntry, XmlWriter, XmlWriter>, 
    atomEndEntryXmlCustomizationCallback : Action<ODataEntry, XmlWriter, XmlWriter>
)

Parameters

See Also

Reference

ODataMessageWriterSettings Class

Microsoft.Data.OData Namespace