Compartilhar via


VCLanguageManager.IsReservedName Method

Determines if the specified name is a C++ reserved name.

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

Syntax

'Declaration
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

  • 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

See Also

Reference

VCLanguageManager Interface

Microsoft.VisualStudio.VCCodeModel Namespace