ScriptCache.AddToCustomMetadataCache Method
Sets the metadata that is associated with a cache entry.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Sub AddToCustomMetadataCache ( _
canonicalFileName As String, _
customMetadata As IDictionary(Of String, String) _
)
protected void AddToCustomMetadataCache(
string canonicalFileName,
IDictionary<string, string> customMetadata
)
protected:
void AddToCustomMetadataCache(
String^ canonicalFileName,
IDictionary<String^, String^>^ customMetadata
)
member AddToCustomMetadataCache :
canonicalFileName:string *
customMetadata:IDictionary<string, string> -> unit
protected function AddToCustomMetadataCache(
canonicalFileName : String,
customMetadata : IDictionary<String, String>
)
Parameters
- canonicalFileName
Type: System.String
The identifier for the cache entry.
- customMetadata
Type: System.Collections.Generic.IDictionary<String, String>
A dictionary of named metadata strings.
.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.