Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Ruft den Wert des XML-location-Attributs des import-Elements ab oder legt diesen fest.
Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in system.web.services.dll)
Syntax
'Declaration
Public Property Location As String
'Usage
Dim instance As Import
Dim value As String
value = instance.Location
instance.Location = value
public string Location { get; set; }
public:
property String^ Location {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_Location ()
/** @property */
public void set_Location (String value)
public function get Location () : String
public function set Location (value : String)
Eigenschaftenwert
Der Wert des XML-location-Attributs des import-Elements. Dieser Wert gibt auch den URL des importierten Dokuments an.
Beispiel
' Creates an Import object with namespace and location.
Public Shared Function CreateImport(targetNamespace As String, _
targetlocation As String) As Import
Dim myImport As New Import()
myImport.Location = targetlocation
myImport.Namespace = targetNamespace
Return myImport
End Function 'CreateImport
// Creates an Import object with namespace and location.
public static Import CreateImport(string targetNamespace,
string targetlocation)
{
Import myImport = new Import();
myImport.Location = targetlocation;
myImport.Namespace = targetNamespace;
return myImport;
}
// 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;
}
Plattformen
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0
Siehe auch
Referenz
Import-Klasse
Import-Member
System.Web.Services.Description-Namespace