Share via


FileScriptCache.AddOrUpdateFile Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Adds or updates a file to the data model.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Sub AddOrUpdateFile ( _
    externalNameParts As IList(Of String), _
    taskItem As ITaskItem _
)
public void AddOrUpdateFile(
    IList<string> externalNameParts,
    ITaskItem taskItem
)
public:
void AddOrUpdateFile(
    IList<String^>^ externalNameParts, 
    ITaskItem^ taskItem
)
member AddOrUpdateFile : 
        externalNameParts:IList<string> * 
        taskItem:ITaskItem -> unit 
public function AddOrUpdateFile(
    externalNameParts : IList<String>, 
    taskItem : ITaskItem
)

Parameters

  • externalNameParts
    Type: System.Collections.Generic.IList<String>
    A list of the parts of the name of the file content. For example, an element name such as "dbo.MyTable" would return a list that contains "dbo" and "MyTable".

.NET Framework Security

See Also

Reference

FileScriptCache Class

Microsoft.Data.Schema.SchemaModel Namespace

ITaskItem