CodeDomDesignerLoader.INameCreationService.ValidateName(String) 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.
Gets a value indicating whether the specified name is valid.
virtual void System.ComponentModel.Design.Serialization.INameCreationService.ValidateName(System::String ^ name) = System::ComponentModel::Design::Serialization::INameCreationService::ValidateName;
void INameCreationService.ValidateName (string name);
abstract member System.ComponentModel.Design.Serialization.INameCreationService.ValidateName : string -> unit
override this.System.ComponentModel.Design.Serialization.INameCreationService.ValidateName : string -> unit
Sub ValidateName (name As String) Implements INameCreationService.ValidateName
Parameters
- name
- String
The name to validate.
Implements
Exceptions
name
is null
.
name
is not a valid identifier, or there is already a component with the same name.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.