The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ParameterValue Members

Contains data passed to the function or returned.

Constructors

Name Description
ParameterValue()

Initializes a new instance of the ParameterValue class with the default settings.

Fields

Name Description
ErrorDivisionByZero static

Creates a parameter which is the Division by Zero error.

ErrorInvalidValueInFunction static

Creates a parameter which is the Invalid Value in Function error.

ErrorName static

Creates a parameter which is the Name error.

ErrorNullIntersection static

Creates a parameter which is the Null Intersection error.

ErrorNumber static

Creates a parameter which is the Number error.

ErrorReference static

Creates a parameter which is the Reference error.

ErrorValueNotAvailable static

Creates a parameter which is the Value not Available error.

Properties

Name Description
ArrayValue

Gets the parameter as an array of cell values.

BooleanValue

Gets or sets the parameter value to a boolean value.

DateTimeValue

Gets the parameter as the DateTime value.

Empty static

Gets an empty parameter value.

ErrorValue

Gets information on an error which is the parameter.

IsArray

Gets whether the parameter is an array.

IsBoolean

Gets whether the parameter is of the boolean type.

IsEmpty

Gets whether the parameter is an empty parameter.

IsError

Gets whether the parameter is an error.

IsNumeric

Gets whether the parameter is of the numeric type.

IsRange

Determines whether the parameter is a worksheet range.

IsText

Gets whether the parameter is text.

NumericValue

Gets or sets the numeric value of the parameter.

RangeAreas

Gets or sets a list of cell ranges passed as a parameter.

RangeValue

Gets or sets a range as a parameter value.

TextValue

Gets or sets a text as a parameter value.

Methods

Name Description
Equals(Object)

Determines whether the specified object is equal to the current ParameterValue instance.

Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(Inherited from Object)
FromDateTime(DateTime, Boolean) static

Creates the parameter from the DateTime value.

FromRange(CellRange) static

Creates a parameter that specifies a certain worksheet range.

FromRange(List<CellRange>) static

Creates a ParameterValue object from the specified cell range.

GetHashCode()

Returns a number that identifies the object instance.

GetType() Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance.
(Inherited from Object)
ToDateTime(Boolean)

Gets the parameter value as the DateTime calculated using the specified date system.

ToString()

Returns a textual representation of the ParameterValue object.

ToString(IFormatProvider)

Returns a textual representation of the ParameterValue object.

Operators

Name Description
Equality(ParameterValue, ParameterValue) static

Compares two ParameterValue objects for equality.

Implicit(Boolean to ParameterValue) static

Implicitly converts a Boolean value to a parameter value.

Implicit(CellValue to ParameterValue) static

Implicitly converts a cell value to a parameter value.

Implicit(CellValue[,] to ParameterValue) static

Implicitly converts an array of cell values to a ParameterValue.

Implicit(Char to ParameterValue) static

Implicitly converts a Char value to a parameter value.

Implicit(DateTime to ParameterValue) static

Implicitly converts a DateTime object to a parameter value.

Implicit(Decimal to ParameterValue) static

Implicitly converts a Decimal value to a parameter value.

Implicit(Double to ParameterValue) static

Implicitly converts a Double value to a parameter value.

Implicit(Int32 to ParameterValue) static

Implicitly converts an Int32 value to a parameter value.

Implicit(Single to ParameterValue) static

Implicitly converts a Single value to a parameter value.

Implicit(String to ParameterValue) static

Implicitly converts a String value to a parameter value.

Inequality(ParameterValue, ParameterValue) static

Compares two ParameterValue objects to determine whether they are not equal.

See Also