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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.