This is a convenience method that will apply some heuristics to return a suitable phone number that can
be dialed for this contact entry object instance.
Namespace: ININ.IceLib.DirectoriesAssembly: ININ.IceLib.Directories (in ININ.IceLib.Directories.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public DirectoryPhoneNumber GetDefaultPhoneNumber() |
Visual Basic |
---|
Public Function GetDefaultPhoneNumber As DirectoryPhoneNumber |
Return Value
A directory phone number. If none could be found an empty phone number is returned.Remarks
This method will first check the phone number associated with the PrimaryNumberDesignation and return that phone's
DirectoryPhoneNumber property, if it is not empty.
If the phone number property is not set for the primary number designation, this method will look for the first phone number set in the following order: Extension, BusinessPhone, HomePhone, BusinessPhone2, HomePhone2, MobilePhone, AssistantPhone, Pager, and then Fax.
If there is no phone number available an empty DirectoryPhoneNumber is returned.Version Information
Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.