VCCodeModel::ValidateMemberName Method (String^, vsCMElement, vcCMNameValidationOption)

 

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.

Return to top
Show: