Jaa


AttributeRelationshipCollection.IsValidName Method

Definition

Overloads

IsValidName(String)

Indicates whether the name is valid for an element in the collection.

IsValidName(String, String)

Indicates whether the name is valid for an element in the collection.

IsValidName(String)

Indicates whether the name is valid for an element in the collection.

public bool IsValidName (string name);
member this.IsValidName : string -> bool
Public Function IsValidName (name As String) As Boolean

Parameters

name
String

The name to validate.

Returns

True, if the name will be valid within the collection; otherwise, false.

Applies to

IsValidName(String, String)

Indicates whether the name is valid for an element in the collection.

public bool IsValidName (string name, out string error);
member this.IsValidName : string * string -> bool
Public 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