Import::Namespace Property

 

Gets or sets the value of the XML namespace attribute of the import element.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
property String^ Namespace {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The value of the XML namespace attribute of the import element.

// Creates an Import object with namespace and location.
Import^ CreateImport( String^ targetNamespace, String^ targetlocation )
{
   Import^ myImport = gcnew Import;
   myImport->Location = targetlocation;
   myImport->Namespace = targetNamespace;
   return myImport;
}

.NET Framework
Available since 1.1
Return to top
Show: