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".
- taskItem
Type: Microsoft.Build.Framework.ITaskItem
An ITaskItem object that specifies the task to accomplish.
.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.