DimensionAttributeCollection.IsValidID(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 identifier is valid for an element in the collection.
public override bool IsValidID (string id, out string error);
override this.IsValidID : string * string -> bool
Public Overrides Function IsValidID (id As String, ByRef error As String) As Boolean
Parameters
- id
- String
The identifier to validate.
- error
- String
The error that will occur if an item with the invalid identifier will be added to the collection.
Returns
True, if the identifier will be valid within the collection; otherwise, false.