XdmModuleAttribute.TargetNamespace FieldXdmModuleAttribute.TargetNamespace FieldXdmModuleAttribute::TargetNamespace Field

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

Syntax

Public ReadOnly TargetNamespace As String
public readonly string TargetNamespace
public:
initonly String^ TargetNamespace
 

Remarks

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

If this field 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.