Adds a DesignCheck by specifying the name and expression.

Namespace: Autodesk.Civil
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 11.0.641.0

Syntax

C#
public override sealed AlignmentDesignCheck Add(
	string name,
	string description,
	string expression
)
Visual Basic
Public Overrides NotOverridable Function Add ( _
	name As String, _
	description As String, _
	expression As String _
) As AlignmentDesignCheck
Visual C++
public:
virtual AlignmentDesignCheck^ Add(
	String^ name, 
	String^ description, 
	String^ expression
) override sealed

Parameters

name
Type: System..::..String
The name of DesignCheck.
description
Type: System..::..String
The description of DesignCheck.
expression
Type: System..::..String
The expression of DesignCheck.

Exceptions

ExceptionCondition
System..::..ArgumentException Throw when:
  1. The name is duplicated.
  2. The expression is not valid.

See Also