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
)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.