MeasureCollection.IsValidID(String, String) Method

Definition

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.

Applies to