다음을 통해 공유


VCLanguageManager.ValidateIdentifier 메서드

지정된 이름이 유효한 C++ 식별자인지 여부를 확인합니다.

네임스페이스:  Microsoft.VisualStudio.VCCodeModel
어셈블리:  Microsoft.VisualStudio.VCCodeModel(Microsoft.VisualStudio.VCCodeModel.dll)

구문

‘선언
Function ValidateIdentifier ( _
    bstrIdentifier As String _
) As Boolean
bool ValidateIdentifier(
    string bstrIdentifier
)
bool ValidateIdentifier(
    [InAttribute] String^ bstrIdentifier
)
abstract ValidateIdentifier : 
        bstrIdentifier:string -> bool
function ValidateIdentifier(
    bstrIdentifier : String
) : boolean

매개 변수

  • bstrIdentifier
    형식: String

    필수입니다. 유효성을 확인할 식별자입니다.

반환 값

형식: Boolean
지정된 이름이 유효한 C++ 식별자이면 true이고, 그렇지 않으면 false입니다.

.NET Framework 보안

참고 항목

참조

VCLanguageManager 인터페이스

Microsoft.VisualStudio.VCCodeModel 네임스페이스