ServiceContractGenerator.NamespaceMappings Property
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 mapping from contract description namespaces to managed namespaces that is used when generating code.
public:
property System::Collections::Generic::Dictionary<System::String ^, System::String ^> ^ NamespaceMappings { System::Collections::Generic::Dictionary<System::String ^, System::String ^> ^ get(); };
public System.Collections.Generic.Dictionary<string,string> NamespaceMappings { get; }
member this.NamespaceMappings : System.Collections.Generic.Dictionary<string, string>
Public ReadOnly Property NamespaceMappings As Dictionary(Of String, String)
A mapping from contract description namespaces to managed namespaces.
Use this property to associated a contract description namespace with a managed namespace that is used when generating code.
You can use the wildcard character "*" as the dictionary key to specify a managed namespace to use for any description namespaces that are not explicitly mapped to a managed namespace.
The default managed namespace is used when no namespace mapping is specified for a particular description namespace.
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: