次の方法で共有


Operation.PortType プロパティ

Operation がメンバとして含まれている PortType を取得します。

Public ReadOnly Property PortType As PortType
[C#]
public PortType PortType {get;}
[C++]
public: __property PortType* get_PortType();
[JScript]
public function get PortType() : PortType;

プロパティ値

PortType

使用例

 
' Get the PortType of the Operation. 
Dim myPort As PortType = myOperation.PortType
  Console.WriteLine( _
     "The port type of the operation is: " & myPort.Name)

[C#] 
// Get the PortType of the Operation. 
PortType myPort = myOperation.PortType;
Console.WriteLine(
   "The port type of the operation is: " + myPort.Name);

[C++] 
// Get the PortType of the Operation. 
PortType* myPort = myOperation->PortType;
Console::WriteLine(
   S"The port type of the operation is: {0}", myPort->Name);

[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 ファミリ

参照

Operation クラス | Operation メンバ | System.Web.Services.Description 名前空間