Version

ToReference() Method

Convert this instance's value to a IExcelCalcReference.
Syntax
public IExcelCalcReference ToReference()

Return Value

If this instance contains a object that implements the IExcelCalcReference interface, this method returns the object instance, else an error reference is returned.
Remarks

The instance value's underlying data type must be reference to return a reference, else an error reference is returned.

If there is no meaningful conversion to a reference, this method will throw an InvalidCastException

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also