ScriptCache.IsCustomMetadataCacheUnchanged Method
Returns a value that indicates whether the custom metadata cache is unchanged.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Function IsCustomMetadataCacheUnchanged ( _
canonicalName As String, _
taskItemMetadata As IDictionary(Of String, String) _
) As Boolean
protected bool IsCustomMetadataCacheUnchanged(
string canonicalName,
IDictionary<string, string> taskItemMetadata
)
protected:
bool IsCustomMetadataCacheUnchanged(
String^ canonicalName,
IDictionary<String^, String^>^ taskItemMetadata
)
member IsCustomMetadataCacheUnchanged :
canonicalName:string *
taskItemMetadata:IDictionary<string, string> -> bool
protected function IsCustomMetadataCacheUnchanged(
canonicalName : String,
taskItemMetadata : IDictionary<String, String>
) : boolean
Parameters
- canonicalName
Type: System.String
The cache identifier.
- taskItemMetadata
Type: System.Collections.Generic.IDictionary<String, String>
A dictionary of metadata to compare.
Return Value
Type: System.Boolean
true if the provided metadata differs from the cached metadata; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.