Import::Location Property

 

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

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

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

Property Value

Type: System::String^

The value of the XML location attribute of the import element. This value also specifies the URL of the imported document.

// 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: