Partager via


VCLanguageManager.ValidateType Method

Determines if the specified expression is a valid C++ type expression.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'Declaration
Function ValidateType ( _
    bstrType As String _
) As Boolean
bool ValidateType(
    string bstrType
)
bool ValidateType(
    [InAttribute] String^ bstrType
)
abstract ValidateType : 
        bstrType:string -> bool
function ValidateType(
    bstrType : String
) : boolean

Parameters

  • bstrType
    Type: System.String

    Required. The expression being validated.

Return Value

Type: System.Boolean
true if the specified expression is a valid C++ type expression; otherwise, false.

.NET Framework Security

See Also

Reference

VCLanguageManager Interface

Microsoft.VisualStudio.VCCodeModel Namespace