PortType.op_Equality Method
Determines whether the specified PortType values are considered equal.
Namespace: Microsoft.Web.Services3.Addressing
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim portType1 As PortType
Dim portType2 As PortType
Dim returnValue As Boolean
returnValue = (PortType = portType2)
Syntax
'Declaration
Public Shared Function op_Equality( _
ByVal obj1 As PortType, _
ByVal obj2 As PortType _
) As Boolean
public static bool op_Equality(
PortType obj1,
PortType obj2
);
public:
static bool operator ==(
PortType^ obj1,
PortType^ obj2
);
public static boolean op_Equality(
PortType obj1,
PortType obj2
);
public static function op_Equality(
obj1 : PortType,
obj2 : PortType
) : Boolean;
Parameters
- obj1
The first PortType.
- obj2
The second PortType.
Return Value
true if obj1 and obj2 refer to the same object or are both null; otherwise, false.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
PortType Class
PortType Members
Microsoft.Web.Services3.Addressing Namespace