Feature.SetValueNull

Feature.SetValueNull method

Sets value of the attribute to null.

public void SetValueNull(string attributeName)
ParameterTypeDescription
attributeNameStringThe name of the attribute.

Exceptions

exceptioncondition
InvalidOperationExceptionThe attribute is not locked.
InvalidOperationExceptionValue of this attribute cannot be Null.
ArgumentExceptionThe attribute with this name does not exist in this layer.
ArgumentNullExceptionThe attribute name is null.

See Also