Muokkaa

Jaa


EntityPropertyMappingAttribute.TargetTextContentKind Property

Definition

Gets the type of content of the property mapped by EntityPropertyMappingAttribute.

public:
 property System::Data::Services::Common::SyndicationTextContentKind TargetTextContentKind { System::Data::Services::Common::SyndicationTextContentKind get(); };
public System.Data.Services.Common.SyndicationTextContentKind TargetTextContentKind { get; }
member this.TargetTextContentKind : System.Data.Services.Common.SyndicationTextContentKind
Public ReadOnly Property TargetTextContentKind As SyndicationTextContentKind

Property Value

A string that identifies the type of content in the feed element.

Remarks

If mapping to syndication content, this property is the content type of syndication item.

When you specify a value of Xhtml for the TargetTextContentKind attribute, you must ensure that the property value contains properly formatted XML. The data service returns the value without performing any transformations. You must also ensure that any XML element prefixes in the returned XML have a namespace URI and prefix defined in the mapped feed.

Applies to