VCCodeModel.ValidateMemberName Method

Validates the name of an element.

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

bool ValidateMemberName(
	string bstrName,
	vsCMElement Kind,
	vcCMNameValidationOption nvo
)

Parameters

bstrName
Type: System.String

The name.

Kind
Type: EnvDTE.vsCMElement

The kind of the element.

nvo
Type: Microsoft.VisualStudio.VCCodeModel.vcCMNameValidationOption

The way to do the validation.

Return Value

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft