Jaa


Utils.IsSyntacticallyValidID(String, Type, String) Method

Definition

Indicates whether the specified identifier is syntactically valid.

public static bool IsSyntacticallyValidID (string id, Type type, out string error);
static member IsSyntacticallyValidID : string * Type * string -> bool
Public Shared Function IsSyntacticallyValidID (id As String, type As Type, ByRef error As String) As Boolean

Parameters

id
String

The identifier to validate.

type
Type

The type of the object.

error
String

The error information [if the identifier is not valid].

Returns

true if the identifier is syntactically valid; otherwise, false.

Applies to