Adds a DesignCheck by specifying the name and expression.
Namespace: Autodesk.CivilAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
| C# |
|---|
public override sealed ProfileDesignCheck Add(
string name,
string description,
string expression
) |
| Visual Basic |
|---|
Public Overrides NotOverridable Function Add ( _
name As String, _
description As String, _
expression As String _
) As ProfileDesignCheck |
| Visual C++ |
|---|
public:
virtual ProfileDesignCheck^ 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
| Exception | Condition |
|---|
| System..::..ArgumentException |
Throw when:
- The name is duplicated.
- The expression is not valid.
|
See Also