Compartilhar via


VCLanguageManager.IsReservedName(String, Boolean) Method

Definition

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

bool IsReservedName(std::wstring const & bstrName, bool bManaged = false);
[System.Runtime.InteropServices.DispId(1)]
public bool IsReservedName (string bstrName, bool bManaged = false);
[<System.Runtime.InteropServices.DispId(1)>]
abstract member IsReservedName : string * bool -> bool
Public Function IsReservedName (bstrName As String, Optional bManaged As Boolean = false) As Boolean

Parameters

bstrName
String

The name to be validated.

bManaged
Boolean

Optional. true if it is Visual C++, otherwise this value is false.

Returns

true for C++ reserved name; otherwise, false.

Attributes

Applies to