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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。