'Declaration Public Function New( _ ByVal sourceAddress As String, _ ByVal target As Object, _ Optional ByVal displayText As String, _ Optional ByVal toolTip As String _ )
public WorksheetHyperlink( string sourceAddress, object target, string displayText, string toolTip )
Exception | Description |
---|---|
System.ArgumentNullException | Occurs when sourceAddress is null. |
System.ArgumentException | Occurs when target is not a string, WorksheetCell, WorksheetRegion, or NamedReference instance. |
System.ArgumentException | Occurs when target is a string longer than 256 characters. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2