Import.Namespace プロパティ
Import の XML 名前空間への参照を取得または設定します。
Public Property Namespace As String
[C#]
public string Namespace {get; set;}
[C++]
public: __property String* get_Namespace();public: __property void set_Namespace(String*);
[JScript]
public function get Namespace() : String;public function set Namespace(String);
プロパティ値
Import の XML 名前空間を指定する文字列。
使用例
' 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 名前空間