Import.Location プロパティ
Import インスタンスの XML location 属性への参照を取得または設定します。
Public Property Location As String
[C#]
public string Location {get; set;}
[C++]
public: __property String* get_Location();public: __property void set_Location(String*);
[JScript]
public function get Location() : String;public function set Location(String);
プロパティ値
Import の XML location 属性を指定する文字列。この値は、 Import に対応するドキュメントの URL も指定します。
使用例
' 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
[C#]
// 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;
}
[C++]
// Creates an Import object with namespace and location.
Import * CreateImport(String* targetNamespace, String* targetlocation)
{
Import* myImport = new Import();
myImport->Location = targetlocation;
myImport->Namespace = targetNamespace;
return myImport;
}
[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン をクリックします。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
Import クラス | Import メンバ | System.Web.Services.Description 名前空間