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
bstrName
Type: System.StringThe name.
Kind
Type: EnvDTE.vsCMElementThe kind of the element.
nvo
Type: Microsoft.VisualStudio.VCCodeModel.vcCMNameValidationOptionThe way to do the validation.
Return Value
Type: System.Boolean
true if the name is validated, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.