This documentation is archived and is not being maintained.

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 SyndicationTextContentKind TargetTextContentKind { 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 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

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: