ProfileDesignCheckCollectionAdd Method |
Adds a DesignCheck by specifying the name and expression.
Namespace: Autodesk.CivilAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic override sealed ProfileDesignCheck Add(
string name,
string description,
string expression
)
Public Overrides NotOverridable Function Add (
name As String,
description As String,
expression As String
) As ProfileDesignCheck
public:
virtual ProfileDesignCheck^ Add(
String^ name,
String^ description,
String^ expression
) override sealed
Parameters
- name String
- The name of DesignCheck.
- description String
- The description of DesignCheck.
- expression String
- The expression of DesignCheck.
Return Value
ProfileDesignCheck
ExceptionsException | Condition |
---|
ArgumentException |
Throw when:
- The name is duplicated.
- The expression is not valid.
|
See Also