共用方式為


FileScriptCache.ContainsCacheIdentifier 方法

這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

判斷所提供的字串是否包含快取識別項。

命名空間:  Microsoft.Data.Schema.SchemaModel
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Public Overrides Function ContainsCacheIdentifier ( _
    cacheIdentifier As String _
) As Boolean
public override bool ContainsCacheIdentifier(
    string cacheIdentifier
)
public:
virtual bool ContainsCacheIdentifier(
    String^ cacheIdentifier
) override
abstract ContainsCacheIdentifier : 
        cacheIdentifier:string -> bool 
override ContainsCacheIdentifier : 
        cacheIdentifier:string -> bool 
public override function ContainsCacheIdentifier(
    cacheIdentifier : String
) : boolean

參數

  • cacheIdentifier
    型別:System.String
    可能包含快取識別項的 string。

傳回值

型別:System.Boolean
如果所提供的字串包含快取識別項,則為 true,如果沒有包含,則為 false。

.NET Framework 安全性

請參閱

參考

FileScriptCache 類別

Microsoft.Data.Schema.SchemaModel 命名空間