'Declaration Public Function New( _ ByVal sourceRegion As WorksheetRegion, _ ByVal target As System.Object, _ Optional ByVal displayText As System.String, _ Optional ByVal toolTip As System.String _ )
public WorksheetHyperlink( WorksheetRegion sourceRegion, System.object target, System.string displayText, System.string toolTip )
Exception | Description |
---|---|
System.ArgumentNullException | Occurs when sourceRegion 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. |
System.ArgumentException | Occurs when target is a cell, region, or named reference which is not from the same workbook as sourceRegion. |
Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, 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
View on GitHub