Compartir a través de


VCCodeModel.ValidateMemberName (Método)

Valida el nombre de un elemento.

Espacio de nombres:  Microsoft.VisualStudio.VCCodeModel
Ensamblado:  Microsoft.VisualStudio.VCCodeModel (en Microsoft.VisualStudio.VCCodeModel.dll)

Sintaxis

'Declaración
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

Parámetros

  • bstrName
    Tipo: String

    Nombre.

  • Kind
    Tipo: vsCMElement

    La clase de elemento.

Valor devuelto

Tipo: Boolean
true si se valida el nombre, si no false.

Seguridad de .NET Framework

Vea también

Referencia

VCCodeModel Interfaz

Microsoft.VisualStudio.VCCodeModel (Espacio de nombres)