CustomSchemaData.MatchesTypeAndCategory 方法
返回一个值,该值指示指定的类别和类型是否与 this 匹配。
命名空间: Microsoft.Data.Schema.SchemaModel
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Function MatchesTypeAndCategory ( _
category As String, _
type As String _
) As Boolean
public bool MatchesTypeAndCategory(
string category,
string type
)
public:
bool MatchesTypeAndCategory(
String^ category,
String^ type
)
member MatchesTypeAndCategory :
category:string *
type:string -> bool
public function MatchesTypeAndCategory(
category : String,
type : String
) : boolean
参数
- category
类型:System.String
要比较的类别。
- type
类型:System.String
要比较的数据类型。
返回值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。