Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EntityPropertyMappingAttribute::TargetNamespaceUri Property

 

Gets a string value that specifies the namespace URI of the element specified by the TargetPath property.

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

public:
property String^ TargetNamespaceUri {
	String^ get();
}

Property Value

Type: System::String^

String that contains the namespace URI.

If mapping to non-syndication element/attribute, this property is the namespace for the target element/attribute.

If neither TargetNamespacePrefix nor TargetNamespaceUri are specified, the TargetPath will be put in the default namespace. If TargetNamespacePrefix is not specified, a prefix is autogenerated. If TargetNamespacePrefix is specified, but TargetNamespaceUri is not specified, an exception is thrown at construction time.

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