EntityPropertyMappingAttribute.TargetSyndicationItem Property

Gets the syndication item in the entry targeted by the mapping.

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

Syntax

'Declaration
Public ReadOnly Property TargetSyndicationItem As SyndicationItemProperty 
    Get
'Usage
Dim instance As EntityPropertyMappingAttribute 
Dim value As SyndicationItemProperty 

value = instance.TargetSyndicationItem
public SyndicationItemProperty TargetSyndicationItem { get; }
public:
property SyndicationItemProperty TargetSyndicationItem {
    SyndicationItemProperty get ();
}
member TargetSyndicationItem : SyndicationItemProperty
function get TargetSyndicationItem () : SyndicationItemProperty

Property Value

Type: System.Data.Services.Common.SyndicationItemProperty
A SyndicationItemProperty value that is the target of the mapping.

Remarks

If mapping to syndication element, this property is the name of the syndication item.

This value must be set to CustomProperty when the TargetPath is not null.

See Also

Reference

EntityPropertyMappingAttribute Class

System.Data.Services.Common Namespace