Share via


IProjectFile.AddMetadataFile Method

Adds a metadata file to the list of MetadataFiles.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Function AddMetadataFile As IMetadataFile
IMetadataFile AddMetadataFile()
IMetadataFile^ AddMetadataFile()
abstract AddMetadataFile : unit -> IMetadataFile
function AddMetadataFile() : IMetadataFile

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IMetadataFile
The newly added metadata file.

.NET Framework Security

See Also

Reference

IProjectFile Interface

Microsoft.TeamFoundation.Build.Client Namespace