EntityPropertyMappingAttribute::TargetTextContentKind Property

 

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

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

public:
property SyndicationTextContentKind TargetTextContentKind {
	SyndicationTextContentKind get();
}

Property Value

Type: System.Data.Services.Common::SyndicationTextContentKind

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

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

When you specify a value of F:System.Data.Services.Common.SyndicationTextContentKind.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.

.NET Framework
Available since 3.5
Silverlight
Available since 4.0
Return to top
Show: