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

声明
Function ValidateType ( _
    bstrType As String _
) As Boolean
用法
Dim instance As VCLanguageManager
Dim bstrType As String
Dim returnValue As Boolean

returnValue = instance.ValidateType(bstrType)
bool ValidateType(
    string bstrType
)
bool ValidateType(
    [InAttribute] String^ bstrType
)
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.

Permissions

See Also

Reference

VCLanguageManager Interface

VCLanguageManager Members

Microsoft.VisualStudio.VCCodeModel Namespace