VCCodeModel.ValidateMemberName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates the name of an element.
public:
bool ValidateMemberName(System::String ^ bstrName, EnvDTE::vsCMElement Kind, Microsoft::VisualStudio::VCCodeModel::vcCMNameValidationOption nvo);
public:
bool ValidateMemberName(Platform::String ^ bstrName, EnvDTE::vsCMElement Kind, Microsoft::VisualStudio::VCCodeModel::vcCMNameValidationOption nvo);
bool ValidateMemberName(std::wstring const & bstrName, EnvDTE::vsCMElement Kind, Microsoft::VisualStudio::VCCodeModel::vcCMNameValidationOption nvo);
[System.Runtime.InteropServices.DispId(522)]
public bool ValidateMemberName (string bstrName, EnvDTE.vsCMElement Kind, Microsoft.VisualStudio.VCCodeModel.vcCMNameValidationOption nvo);
[<System.Runtime.InteropServices.DispId(522)>]
abstract member ValidateMemberName : string * EnvDTE.vsCMElement * Microsoft.VisualStudio.VCCodeModel.vcCMNameValidationOption -> bool
Public Function ValidateMemberName (bstrName As String, Kind As vsCMElement, nvo As vcCMNameValidationOption) As Boolean
Parameters
- bstrName
- String
The name.
- Kind
- vsCMElement
The kind of the element.
The way to do the validation.
Returns
true if the name is validated, otherwise false.
- Attributes