DataParameter.IsValidType(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索一个布尔值,该值指示指定的数据源特定类型是否为有效类型。
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
数据源特定的数据类型。
返回
如果指定的特定于数据源的类型是有效的类型,则返回 true;否则,返回 false。