Feature.GetValuesDump

Feature.GetValuesDump method

Returns the values for all the attributes in an array. Consider to use GetValues method to avoid additional memory allocation.

public object[] GetValuesDump(object defaultValue = null)
ParameterTypeDescription
defaultValueObjectThe value to return if the attribute value is missing (unset). Default value is null. Consider to use ‘DBNull.Value’ for separating ‘unset’ and ‘null’ values.

Return Value

A new array into which to copy the attributes values.

Exceptions

exceptioncondition
ArgumentNullExceptionThe argument is null.
InvalidOperationExceptionThe attribute is not locked.

Remarks

The values attributes of the feature are copied into the values array that is passed as a parameter. For attributes with unset value, the specified ‘unsetValue’ parameter is returned.

See Also