DimensionAttributeCollection.IsValidName(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the name is valid for an element in the collection.
public override bool IsValidName (string name, out string error);
override this.IsValidName : string * string -> bool
Public Overrides Function IsValidName (name As String, ByRef error As String) As Boolean
Parameters
- name
- String
The name to validate.
- error
- String
The error that will occur if an item with the invalid name will be added to the collection.
Returns
True, if the name will be valid within the collection; otherwise, false.