SoapNormalizedString クラス
アセンブリ: mscorlib (mscorlib.dll 内)

<SerializableAttribute> _ <ComVisibleAttribute(True)> _ Public NotInheritable Class SoapNormalizedString Implements ISoapXsd
[SerializableAttribute] [ComVisibleAttribute(true)] public sealed class SoapNormalizedString : ISoapXsd
[SerializableAttribute] [ComVisibleAttribute(true)] public ref class SoapNormalizedString sealed : ISoapXsd

SoapNormalizedString クラスのメンバを使用して、SoapNormalizedString オブジェクトと XSD normalizedString 間の変換を行う方法を次のコード例に示します。
using System; using System.Runtime.Remoting.Metadata.W3cXsd2001; public class Demo { public static void TestParse(string testString) { try { // Parse the test string. SoapNormalizedString normalized = SoapNormalizedString.Parse(testString); // Report that the parse succeeded if no exception was thrown. Console.WriteLine( "Parse succeeded on the string \"{0}\".", testString); // Print the string representation of the object. Console.WriteLine( "The normalized value of this string is \"{0}\".", normalized.ToString()); // Print the XSD type of the object. Console.WriteLine( "The XSD type of the SoapNormalizedString " + "object is {0}.", normalized.GetXsdType()); // Print the value of the SoapNormalizedString object. Console.WriteLine( "The value of the SoapNormalizedString " + "object is \"{0}\".", normalized.Value); } catch(System.Runtime.Remoting.RemotingException e) { // Report the details of the exception that was thrown. Console.WriteLine( "Parse failed on the string \"{0}\".", testString); Console.WriteLine(e.Message); } } public static void Main(string[] args) { // Create strings to test the Parse method. string stringWithSpaces = "one two"; string stringWithSpacesAndTabs = "one two\t"; string stringWithSpacesAndLineFeed = "one two\n"; string stringWithSpacesAndCarriageReturn = "one two\r"; // Test the Parse method with each string. TestParse(stringWithSpaces); TestParse(stringWithSpacesAndTabs); TestParse(stringWithSpacesAndLineFeed); TestParse(stringWithSpacesAndCarriageReturn); // Print the XSD type string of the SoapNormalizedString class. Console.WriteLine( "The XSD type of the SoapNormalizedString class " + "is {0}.", SoapNormalizedString.XsdType); } }
#using <System.Runtime.Remoting.dll> using namespace System; using namespace System::Runtime::Remoting::Metadata::W3cXsd2001; static void TestParse( String^ testString ) { try { // Parse the test string. SoapNormalizedString^ normalized = SoapNormalizedString::Parse( testString ); // Report that the parse succeeded if no exception was thrown. Console::WriteLine( L"Parse succeeded on the string \"{0}\".", testString ); // Print the string representation of the object. Console::WriteLine( L"The normalized value of this string is \"{0}\".", normalized ); // Print the XSD type of the object. Console::WriteLine( L"The XSD type of the SoapNormalizedString object is {0}.", normalized->GetXsdType() ); // Print the value of the SoapNormalizedString object. Console::WriteLine( L"The value of the SoapNormalizedString object is \"{0}\".", normalized->Value ); } catch ( System::Runtime::Remoting::RemotingException^ e ) { // Report the details of the exception that was thrown. Console::WriteLine( L"Parse failed on the string \"{0}\"." , testString ); Console::WriteLine( e->Message ); } } int main() { // Create strings to test the Parse method. String^ stringWithSpaces = L"one two"; String^ stringWithSpacesAndTabs = L"one two\t"; String^ stringWithSpacesAndLineFeed = L"one two\n"; String^ stringWithSpacesAndCarriageReturn = L"one two\r"; // Test the Parse method with each string. TestParse( stringWithSpaces ); TestParse( stringWithSpacesAndTabs ); TestParse( stringWithSpacesAndLineFeed ); TestParse( stringWithSpacesAndCarriageReturn ); // Print the XSD type string of the SoapNormalizedString class. Console::WriteLine( L"The XSD type of the SoapNormalizedString class is {0}.", SoapNormalizedString::XsdType ); }
import System.*; import System.Runtime.Remoting.Metadata.W3cXsd2001.*; public class Demo { public static void TestParse(String testString) { try { // Parse the test string. SoapNormalizedString normalized = SoapNormalizedString. Parse(testString); // Report that the parse succeeded if no exception was thrown. Console.WriteLine("Parse succeeded on the string \"{0}\".", testString); // Print the string representation of the object. Console.WriteLine("The normalized value of this string is \"{0}\".", normalized.ToString()); // Print the XSD type of the object. Console.WriteLine("The XSD type of the SoapNormalizedString " + "object is {0}.", normalized.GetXsdType()); // Print the value of the SoapNormalizedString object. Console.WriteLine("The value of the SoapNormalizedString " + "object is \"{0}\".", normalized.get_Value()); } catch (System.Runtime.Remoting.RemotingException e) { // Report the details of the exception that was thrown. Console.WriteLine("Parse failed on the string \"{0}\".", testString); Console.WriteLine(e.get_Message()); } } //TestParse public static void main(String[] args) { // Create strings to test the Parse method. String stringWithSpaces = "one two"; String stringWithSpacesAndTabs = "one two\t"; String stringWithSpacesAndLineFeed = "one two\n"; String stringWithSpacesAndCarriageReturn = "one two\r"; // Test the Parse method with each string. TestParse(stringWithSpaces); TestParse(stringWithSpacesAndTabs); TestParse(stringWithSpacesAndLineFeed); TestParse(stringWithSpacesAndCarriageReturn); // Print the XSD type string of the SoapNormalizedString class. Console.WriteLine("The XSD type of the SoapNormalizedString class " + "is {0}.", SoapNormalizedString.get_XsdType()); } //main } //Demo

System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNormalizedString


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


SoapNormalizedString コンストラクタ ()
アセンブリ: mscorlib (mscorlib.dll 内)


// Create a SoapNormalizedString object. SoapNormalizedString normalized = new SoapNormalizedString(); normalized.Value = "one two"; Console.WriteLine( "The value of the SoapNormalizedString object is {0}.", normalized.ToString());
// Create a SoapNormalizedString object. SoapNormalizedString^ normalized = gcnew SoapNormalizedString; normalized->Value = L"one two"; Console::WriteLine( L"The value of the SoapNormalizedString object is {0}." , normalized );

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


SoapNormalizedString コンストラクタ

名前 | 説明 |
---|---|
SoapNormalizedString () | SoapNormalizedString クラスの新しいインスタンスを初期化します。 |
SoapNormalizedString (String) | 正規化文字列を使用して、SoapNormalizedString クラスの新しいインスタンスを初期化します。 |

SoapNormalizedString コンストラクタ (String)
アセンブリ: mscorlib (mscorlib.dll 内)



// Create a SoapNormalizedString object. string testString = "one two"; SoapNormalizedString normalized = new SoapNormalizedString(testString); Console.WriteLine( "The value of the SoapNormalizedString object is {0}.", normalized.ToString());
// Create a SoapNormalizedString object. String^ testString = L"one two"; SoapNormalizedString^ normalized = gcnew SoapNormalizedString( testString ); Console::WriteLine( L"The value of the SoapNormalizedString object is {0}." , normalized );

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


SoapNormalizedString プロパティ
SoapNormalizedString メソッド

名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 ( Object から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 ( Object から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
![]() | GetXsdType | 現在の SOAP 型の XML スキーマ定義言語 (XSD) を返します。 |
![]() | Parse | 指定した String を SoapNormalizedString オブジェクトに変換します。 |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
![]() | ToString | オーバーライドされます。 Value を String として返します。 |

SoapNormalizedString メンバ
XML normalizedString 型をラップします。
SoapNormalizedString データ型で公開されるメンバを以下の表に示します。



名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
![]() | GetXsdType | 現在の SOAP 型の XML スキーマ定義言語 (XSD) を返します。 |
![]() | Parse | 指定した String を SoapNormalizedString オブジェクトに変換します。 |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
![]() | ToString | オーバーライドされます。 Value を String として返します。 |

Weblioに収録されているすべての辞書からSoapNormalizedStringを検索する場合は、下記のリンクをクリックしてください。

- SoapNormalizedStringのページへのリンク