Operation.ParameterOrderString プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Operation.ParameterOrderString プロパティの意味・解説 

Operation.ParameterOrderString プロパティ

要求応答操作または請求応答操作に関する仕様指示するオプションリモート プロシージャ コール (RPC: Remote Procedure Call) シグニチャを取得または設定します

名前空間: System.Web.Services.Description
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

Public Property ParameterOrderString As
 String
Dim instance As Operation
Dim value As String

value = instance.ParameterOrderString

instance.ParameterOrderString = value
public string ParameterOrderString { get;
 set; }
public:
property String^ ParameterOrderString {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_ParameterOrderString ()

/** @property */
public void set_ParameterOrderString (String
 value)
public function get ParameterOrderString
 () : String

public function set ParameterOrderString
 (value : String)

プロパティ
単一空白区切られた、MessagePart インスタンスの名前のリスト

解説解説
使用例使用例
Dim myString As String =
 Nothing
Dim myOperation As New Operation()
myDescription = ServiceDescription.Read("Operation_2_Input_VB.wsdl")
Dim myMessage(myDescription.Messages.Count) As
 Message

' Copy the messages from the service description.
myDescription.Messages.CopyTo(myMessage, 0)
Dim i As Integer
For i = 0 To myDescription.Messages.Count -
 1
   Dim myMessagePart(myMessage(i).Parts.Count) As
 MessagePart

   ' Copy the message parts into a MessagePart.
   myMessage(i).Parts.CopyTo(myMessagePart, 0)
   Dim j As Integer
   For j = 0 To (myMessage(i).Parts.Count)
 - 1
      myString += myMessagePart(j).Name
      myString += " "
   Next j
Next i

' Set the ParameterOrderString equal to the list of 
' message part names.
myOperation.ParameterOrderString = myString
Dim myString1 As String()
 = myOperation.ParameterOrder
Dim k As Integer = 0
Console.WriteLine("The list of message part names is as follows:")
While k < 5
   Console.WriteLine(myString1(k))
   k += 1
End While
string myString = null ;
Operation myOperation = new Operation();
myDescription = ServiceDescription.Read("Operation_2_Input_CS.wsdl");
Message[] myMessage = new Message[ myDescription.Messages.Count
 ] ;

// Copy the messages from the service description.
myDescription.Messages.CopyTo( myMessage, 0 );
for( int i = 0 ; i < myDescription.Messages.Count;
 i++ )
{
   MessagePart[] myMessagePart = 
      new MessagePart[ myMessage[i].Parts.Count ];

   // Copy the message parts into a MessagePart.
   myMessage[i].Parts.CopyTo( myMessagePart, 0 );
   for( int j = 0 ; j < myMessage[i].Parts.Count;
 j++ )
   {
      myString += myMessagePart[j].Name;
      myString += " " ;
   }
}
// Set the ParameterOrderString equal to the list of 
// message part names.
myOperation.ParameterOrderString = myString;
string[] myString1 = myOperation.ParameterOrder;
int k = 0 ;
Console.WriteLine("The list of message part names is as follows:");
while( k<5 )
{
   Console.WriteLine( myString1[k] );
   k++;
}
String^ myString = nullptr;
Operation^ myOperation = gcnew Operation;
myDescription = ServiceDescription::Read( "Operation_2_Input_CS.wsdl" );
array<Message^>^myMessage = gcnew array<Message^>(myDescription->Messages->Count);

// Copy the messages from the service description.
myDescription->Messages->CopyTo( myMessage, 0 );
for ( int i = 0; i < myDescription->Messages->Count;
 i++ )
{
   array<MessagePart^>^myMessagePart = gcnew array<MessagePart^>(myMessage[
 i ]->Parts->Count);

   // Copy the message parts into a MessagePart.
   myMessage[ i ]->Parts->CopyTo( myMessagePart, 0 );
   for ( int j = 0; j < myMessage[ i ]->Parts->Count;
 j++ )
   {
      myString = String::Concat( myString, myMessagePart[ j ]->Name, " "
 );
   }
}

// message part names.
myOperation->ParameterOrderString = myString;
array<String^>^myString1 = myOperation->ParameterOrder;
int k = 0;
Console::WriteLine( "The list of message part names is as follows:" );
while ( k < 5 )
{
   Console::WriteLine( myString1[ k ] );
   k++;
}
String myString = null;
Operation myOperation = new Operation();
myDescription = ServiceDescription.
    Read("Operation_2_Input_JSL.wsdl");
Message myMessage[] = new Message[myDescription.get_Messages().
    get_Count()];
// Copy the messages from the service description.
myDescription.get_Messages().CopyTo(myMessage, 0);
for (int i = 0; i < myDescription.get_Messages().get_Count();
    i++) {
    MessagePart myMessagePart[] = new MessagePart[myMessage[i].
        get_Parts().get_Count()];
    // Copy the message parts into a MessagePart.
    myMessage[i].get_Parts().CopyTo(myMessagePart, 0);
    for (int j = 0; j < myMessage[i].get_Parts().get_Count();
 
        j++) {
        myString += myMessagePart[j].get_Name();
        myString += " ";
    }
}
// Set the ParameterOrderString equal to the list of 
// message part names.
myOperation.set_ParameterOrderString(myString);
String myString1[] = myOperation.get_ParameterOrder();
int k = 0;
Console.WriteLine("The list of message part names is as follows:");
while (k < 5) {
    Console.WriteLine(myString1.get_Item(k));
    k++;
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からOperation.ParameterOrderString プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からOperation.ParameterOrderString プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からOperation.ParameterOrderString プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

Operation.ParameterOrderString プロパティのお隣キーワード
検索ランキング

   

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



Operation.ParameterOrderString プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS