Utils.IsSyntacticallyValidID(String, Type, 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 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.