XdmModuleAttribute.TargetNamespace PropertyXdmModuleAttribute.TargetNamespace PropertyXdmModuleAttribute::TargetNamespace Property

Gets or sets the target namespace of the module. The target namespace of the exported module.

Syntax

Public Property TargetNamespace As String
        Get
        Set(ByVal value As String)
public string TargetNamespace { get; set; }
public:
property String^ TargetNamespace {
    String^ get();
    void set(String^ value);
}
 

Property Value

Type: System.StringSystem.StringSystem::String^

The target namespace of the module, or null a null reference (Nothing in Visual Basic) nullptr to use the default. The target namespace of the module.

Remarks

If this property is set to null a null reference (Nothing in Visual Basic) nullptr then the target namespace of the module is set to a URI with scheme clitype and with the path equal to the full CLR name of the type, URL encoded if necessary.

If this property is set to a value that is not a valid absolute

 
xs:anyURI
 
then a InvalidOperationExceptionInvalidOperationExceptionInvalidOperationException will be thrown when an attempt is made to load the module.