
C# | Visual Basic | Visual C++ |
public static void SetPort( this MediaChannelDescription mcd, int port )
<ExtensionAttribute> Public Shared Sub SetPort ( mcd As MediaChannelDescription, port As Integer )
public: [ExtensionAttribute] static void SetPort( MediaChannelDescription^ mcd, int port )

- mcd (MediaChannelDescription)
- port (Int32)

In Visual Basic and C#, you can call this method as an instance method on any object of type MediaChannelDescription. When you use instance method syntax to call this method, omit the first parameter.
Assembly: VoIPSDK (Module: VoIPSDK.dll) Version: 11.2.4.290