DataParameter.IsValidType(String) 方法

定义

检索一个布尔值,该值指示指定的数据源特定类型是否为有效类型。

protected:
 virtual bool IsValidType(System::String ^ type);
protected virtual bool IsValidType (string type);
abstract member IsValidType : string -> bool
override this.IsValidType : string -> bool
Protected Overridable Function IsValidType (type As String) As Boolean

参数

type
String

特定于数据源的数据类型。

返回

Boolean

如果指定的特定于数据源的类型是有效的类型,则为 true;否则为 false。

适用于