Sdílet prostřednictvím


PerspectiveCollection.IsValidName(String, String) Method

Definition

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.

Applies to