Export (0) Print
Expand All

EntityPropertyMappingAttribute.SourcePath Property

Gets the name of the property of the syndication item that will be mapped to the specified element of the feed.

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

'Declaration
Public ReadOnly Property SourcePath As String
	Get

Property Value

Type: System.String
String value that contains property name.

The SourcePath property cannot directly reference a complex type. For complex types, you must use a path expression where property names are separated by a backslash (/) character. For example, the following values are permitted for an entity type Person with an integer property Age and a complex property Address:

  • Age

  • Address/Street

The SourcePath property cannot be set to a value that contains a space or any other character that is not valid in a property name.

.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.

Community Additions

ADD
Show:
© 2014 Microsoft