Edit

Share via


CodeDomDesignerLoader.INameCreationService.ValidateName(String) Method

Definition

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