SoapAnyUriとは? わかりやすく解説

SoapAnyUri クラス

XSD anyURI 型をラップします。

名前空間: System.Runtime.Remoting.Metadata.W3cXsd2001
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

<SerializableAttribute> _
<ComVisibleAttribute(True)> _
Public NotInheritable Class
 SoapAnyUri
    Implements ISoapXsd
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public sealed class SoapAnyUri : ISoapXsd
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public ref class SoapAnyUri sealed : ISoapXsd
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public final class SoapAnyUri implements ISoapXsd
SerializableAttribute 
ComVisibleAttribute(true) 
public final class SoapAnyUri implements ISoapXsd
解説解説
使用例使用例

SoapAnyUri クラスのメンバを使用して、SoapAnyUri オブジェクトと XSD anyURI 文字列間の変換を行う方法を次のコード例に示します。

using System;
using System.Runtime.Remoting.Metadata.W3cXsd2001;

public class Demo
{
    public static void Main(string[]
 args)
    {
        // Parse an XSD formatted string to create a SoapAnyUri object.
        string xsdAnyUri = "http://localhost:8080/WebService";
        SoapAnyUri anyUri = SoapAnyUri.Parse(xsdAnyUri);

        // Print the value of the SoapAnyUri object in XSD format. 
        Console.WriteLine(
            "The SoapAnyUri object in XSD format is {0}."
,
            anyUri.ToString());

        // Print the XSD type string of the SoapAnyUri object.
        Console.WriteLine("The XSD type of the SoapAnyUri " + 
            "object is {0}.", anyUri.GetXsdType());

        // Print the value of the SoapAnyUri object.
        Console.WriteLine(
            "The value of the SoapAnyUri object is {0}.", 
            anyUri.Value);

        // Print the XSD type string of the SoapAnyUri class.
        Console.WriteLine(
            "The XSD type of the SoapAnyUri class "
 +
            "is {0}.", SoapAnyUri.XsdType);
    }
}
#using <System.dll>
#using <System.Runtime.Remoting.dll>
using namespace System;
using namespace System::Runtime::Remoting::Metadata::W3cXsd2001;

int main()
{
   // Parse an XSD formatted string to create a SoapAnyUri object.
   String^ xsdAnyUri = L"http://localhost:8080/WebService";
   SoapAnyUri^ anyUri = SoapAnyUri::Parse( xsdAnyUri );

   // Print the value of the SoapAnyUri object in XSD format.
   Console::WriteLine( L"The SoapAnyUri object in XSD format
 is {0}.", anyUri );

   // Print the XSD type string of the SoapAnyUri object.
   Console::WriteLine( L"The XSD type of the SoapAnyUri "
   L"object is {0}.", anyUri->GetXsdType() );

   // Print the value of the SoapAnyUri object.
   Console::WriteLine( L"The value of the SoapAnyUri object is {0}.", anyUri->Value
 );
   
   // Print the XSD type string of the SoapAnyUri class.
   Console::WriteLine( L"The XSD type of the SoapAnyUri class
 "
   L"is {0}.", SoapAnyUri::XsdType );

   return 1;
}
import System.*;
import System.Runtime.Remoting.Metadata.W3cXsd2001.*;

public class Demo
{
    public static void main(String[]
 args)
    {
        // Parse an XSD formatted string to create a SoapAnyUri object.
        String xsdAnyUri = "http://localhost:8080/WebService";
        SoapAnyUri anyUri = SoapAnyUri.Parse(xsdAnyUri);

        // Print the value of the SoapAnyUri object in XSD format. 
        Console.WriteLine("The SoapAnyUri object in XSD format
 is {0}.", 
            anyUri.ToString());

        // Print the XSD type string of the SoapAnyUri object.
        Console.WriteLine("The XSD type of the SoapAnyUri " + "object
 is {0}.", 
            anyUri.GetXsdType());

        // Print the value of the SoapAnyUri object.
        Console.WriteLine("The value of the SoapAnyUri object is {0}.",
 
            anyUri.get_Value());

        // Print the XSD type string of the SoapAnyUri class.
        Console.WriteLine("The XSD type of the SoapAnyUri class
 " + "is {0}.", 
            SoapAnyUri.get_XsdType());
    } //main
} //Demo
継承階層継承階層
System.Object
  System.Runtime.Remoting.Metadata.W3cXsd2001.SoapAnyUri
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapAnyUri メンバ
System.Runtime.Remoting.Metadata.W3cXsd2001 名前空間

SoapAnyUri コンストラクタ ()

SoapAnyUri クラスの新しいインスタンスを初期化します。

名前空間: System.Runtime.Remoting.Metadata.W3cXsd2001
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

public SoapAnyUri ()
public:
SoapAnyUri ()
public SoapAnyUri ()
使用例使用例

このコンストラクタを使用するコードの例を次に示します。

// Create a SoapAnyUri object.
SoapAnyUri anyUri = new SoapAnyUri();
anyUri.Value = "http://localhost:8080/WebService"; 
Console.WriteLine(
    "The value of the SoapAnyUri object is {0}.", 
    anyUri.ToString());
// Create a SoapAnyUri object.
SoapAnyUri^ anyUri = gcnew SoapAnyUri;
anyUri->Value = L"http://localhost:8080/WebService";
Console::WriteLine( L"The value of the SoapAnyUri object is {0}.", anyUri
 );
// Create a SoapAnyUri object.
SoapAnyUri anyUri = new SoapAnyUri();
anyUri.set_Value("http://localhost:8080/WebService");
Console.WriteLine("The value of the SoapAnyUri object is {0}.", 
    anyUri.ToString());
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapAnyUri クラス
SoapAnyUri メンバ
System.Runtime.Remoting.Metadata.W3cXsd2001 名前空間

SoapAnyUri コンストラクタ (String)

指定した URI を使用して、SoapAnyUri クラスの新しいインスタンスを初期化します。

名前空間: System.Runtime.Remoting.Metadata.W3cXsd2001
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

使用例使用例

このコンストラクタを使用するコードの例を次に示します。

// Create a SoapAnyUri object.
string anyUriValue = "http://localhost:8080/WebService";
 
SoapAnyUri anyUri = new SoapAnyUri(anyUriValue);
Console.WriteLine(
    "The value of the SoapAnyUri object is {0}.", 
    anyUri.ToString());
// Create a SoapAnyUri object.
String^ anyUriValue = L"http://localhost:8080/WebService";
SoapAnyUri^ anyUri = gcnew SoapAnyUri( anyUriValue );
Console::WriteLine( L"The value of the SoapAnyUri object is {0}.", anyUri
 );
// Create a SoapAnyUri object.
String anyUriValue = "http://localhost:8080/WebService";
SoapAnyUri anyUri = new SoapAnyUri(anyUriValue);
Console.WriteLine("The value of the SoapAnyUri object is {0}.", 
    anyUri.ToString());
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapAnyUri クラス
SoapAnyUri メンバ
System.Runtime.Remoting.Metadata.W3cXsd2001 名前空間

SoapAnyUri コンストラクタ

SoapAnyUri クラスの新しいインスタンスを初期化します。
オーバーロードの一覧オーバーロードの一覧

参照参照

関連項目

SoapAnyUri クラス
SoapAnyUri メンバ
System.Runtime.Remoting.Metadata.W3cXsd2001 名前空間

SoapAnyUri プロパティ


パブリック プロパティパブリック プロパティ

  名前 説明
パブリック プロパティ XsdType 現在の SOAP 型の XML スキーマ定義言語 (XSD) を取得します。
参照参照

関連項目

SoapAnyUri クラス
System.Runtime.Remoting.Metadata.W3cXsd2001 名前空間

SoapAnyUri メソッド


SoapAnyUri メンバ

XSD anyURI 型をラップします。

SoapAnyUri データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ XsdType 現在の SOAP 型の XML スキーマ定義言語 (XSD) を取得します。
パブリック メソッドパブリック メソッド
参照参照

関連項目

SoapAnyUri クラス
System.Runtime.Remoting.Metadata.W3cXsd2001 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「SoapAnyUri」の関連用語

SoapAnyUriのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SoapAnyUriのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS