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
bool IsReservedName(
    string bstrName,
    bool bManaged
)
bool IsReservedName(
    [InAttribute] String^ bstrName, 
    [InAttribute] bool bManaged
)
abstract IsReservedName : 
        bstrName:string * 
        bManaged:bool -> bool 
function IsReservedName(
    bstrName : String, 
    bManaged : boolean
) : boolean
Parameters
- bstrName
 Type: System.String
 The name to be validated.
- bManaged
 Type: System.Boolean
 Optional. true if it is Visual C++, otherwise this value is false.
Return Value
Type: System.Boolean
true for C++ reserved name; 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.