EntityPropertyMappingAttribute.TargetNamespacePrefix 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 a string value that, together with TargetNamespaceUri, specifies the namespace in which the TargetPath element exists.
public:
property System::String ^ TargetNamespacePrefix { System::String ^ get(); };
public string TargetNamespacePrefix { get; }
member this.TargetNamespacePrefix : string
Public ReadOnly Property TargetNamespacePrefix As String
Property Value
String value that contains the target namespace prefix.
Remarks
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.