Determines if the specified name is a C++ reserved name.
Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
声明
Function IsReservedName ( _
    bstrName As String, _
    bManaged As Boolean _
) As Boolean
用法
Dim instance As VCLanguageManager
Dim bstrName As String
Dim bManaged As Boolean
Dim returnValue As Boolean
returnValue = instance.IsReservedName(bstrName, _
    bManaged)
bool IsReservedName(
    string bstrName,
    bool bManaged
)
bool IsReservedName(
    [InAttribute] String^ bstrName, 
    [InAttribute] bool bManaged
)
function IsReservedName(
    bstrName : String, 
    bManaged : boolean
) : boolean
Parameters
bstrName
Type: System.StringThe name to be validated.
bManaged
Type: System.BooleanOptional. true if it is Visual C++, otherwise this value is false.
Return Value
Type: System.Boolean
true for C++ reserved name; otherwise, false.
Permissions
- 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.