Share via


VCCodeModel.ValidateMemberName Method

Validates the name of an element.

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

Syntax

'Declaration
Function ValidateMemberName ( _
    bstrName As String, _
    Kind As vsCMElement, _
    nvo As vcCMNameValidationOption _
) As Boolean
bool ValidateMemberName(
    string bstrName,
    vsCMElement Kind,
    vcCMNameValidationOption nvo
)
bool ValidateMemberName(
    [InAttribute] String^ bstrName, 
    [InAttribute] vsCMElement Kind, 
    [InAttribute] vcCMNameValidationOption nvo
)
abstract ValidateMemberName : 
        bstrName:string * 
        Kind:vsCMElement * 
        nvo:vcCMNameValidationOption -> bool
function ValidateMemberName(
    bstrName : String, 
    Kind : vsCMElement, 
    nvo : vcCMNameValidationOption
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the name is validated, otherwise false.

.NET Framework Security

See Also

Reference

VCCodeModel Interface

Microsoft.VisualStudio.VCCodeModel Namespace