EntityPropertyMappingAttribute.TargetTextContentKind Property
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.
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.