CodeDomDesignerLoader.INameCreationService.IsValidName(String) 方法

定义

获取一个值,该值指示指定名称是否有效。

 virtual bool System.ComponentModel.Design.Serialization.INameCreationService.IsValidName(System::String ^ name) = System::ComponentModel::Design::Serialization::INameCreationService::IsValidName;
bool INameCreationService.IsValidName (string name);
abstract member System.ComponentModel.Design.Serialization.INameCreationService.IsValidName : string -> bool
override this.System.ComponentModel.Design.Serialization.INameCreationService.IsValidName : string -> bool
Function IsValidName (name As String) As Boolean Implements INameCreationService.IsValidName

参数

name
String

要验证的名称。

返回

如果该名称有效,则为 true;否则为 false

实现

例外

namenull

适用于