IVsaEngine.IsValidIdentifier Method

Checks whether the supplied identifier is valid for the script engine.

Namespace:  Microsoft.Vsa
Assembly:  Microsoft.Vsa (in Microsoft.Vsa.dll)

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Function IsValidIdentifier ( _
    identifier As String _
) As Boolean
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
bool IsValidIdentifier(
    string identifier
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
bool IsValidIdentifier(
    String^ identifier
)
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract IsValidIdentifier : 
        identifier:string -> bool
function IsValidIdentifier(
    identifier : String
) : boolean

Parameters

  • identifier
    Type: System.String

    A string value provided as identifier.

Return Value

Type: System.Boolean
Returns true if the identifier is valid; otherwise, it returns false.

See Also

Reference

IVsaEngine Interface

Microsoft.Vsa Namespace