This documentation is archived and is not being maintained.
Operation.PortType Property
.NET Framework 1.1
Gets the PortType of which the Operation is a member.
[Visual Basic] Public ReadOnly Property PortType As PortType [C#] public PortType PortType {get;} [C++] public: __property PortType* get_PortType(); [JScript] public function get PortType() : PortType;
Property Value
A PortType.
Example
[Visual Basic] ' 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] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button
in the upper-left corner of the page.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
Operation Class | Operation Members | System.Web.Services.Description Namespace
Show: