Checks report item names to ensure that they are unique and that they are not empty or null and do not contain invalid characters.
'Declaration
Public Function ValidateName( _
ByVal As System.String, _
ByVal As NameType _
) As System.Boolean
public System.bool ValidateName(
System.string ,
NameType
)
Parameters
- name
- A string value representing the name to validate.
- nameType
- A NameType enumeration indicating whether the name is for a control, dataset, dataregion or grouping object.
Return Value
Returns true if the name is valid; otherwise false.