 | IValidatorNameValidation Method |
Validates a name of a CAEX object. Names of CAEX classes or types (RoleClasses, InterfaceClasses,
SystemUnitClasses and AttributeTypes), Attributes,
Libraries and CAEX InstanceHierarchies shall be unique across its siblings or across all child elements of the same
CAEX parent element over its life time.
This shall assure that referencing a library, a class, a type or an attribute by its path delivers a unique result.
Namespace: Aml.Engine.Services.InterfacesAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax(bool IsValid, string Message) NameValidation(
CAEXObject caexObject,
string name
)
Function NameValidation (
caexObject As CAEXObject,
name As String
) As (IsValid As Boolean, Message As String)
ValueTuple<bool, String^> NameValidation(
CAEXObject^ caexObject,
String^ name
)
Parameters
- caexObject CAEXObject
- The CAEX object.
- name String
- The name, which should be assigned to the object.
Return Value
ValueTupleBoolean,
StringA value tuple, returning the validation result and a message
See Also