共用方式為


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

適用於