| C# | Visual Basic | Visual C++ |
public static Contact ToContactHeader( this SIPAddress address, AddrSpecType addSpecType, TransportType transportType, Nullable<int> expires = null )
<ExtensionAttribute> Public Shared Function ToContactHeader ( address As SIPAddress, addSpecType As AddrSpecType, transportType As TransportType, Optional expires As Nullable(Of Integer) = Nothing ) As Contact
public: [ExtensionAttribute] static Contact^ ToContactHeader( SIPAddress^ address, AddrSpecType addSpecType, TransportType transportType, Nullable<int> expires = nullptr )
Contact
In Visual Basic and C#, you can call this method as an instance method on any object of type SIPAddress. When you use instance method syntax to call this method, omit the first parameter.
Assembly: VoIPSDK (Module: VoIPSDK.dll) Version: 10.1.12.90