InformationNodeConverters.AddBuildProjectNode Method (IBuildInformation, DateTime, String, String, String, String, DateTime, String)
Adds a project to the specified build information object. Does not save to the server.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function AddBuildProjectNode ( _
buildInformation As IBuildInformation, _
finishTime As DateTime, _
flavor As String, _
localPath As String, _
platform As String, _
serverPath As String, _
startTime As DateTime, _
targetNames As String _
) As IBuildProjectNode
public static IBuildProjectNode AddBuildProjectNode(
this IBuildInformation buildInformation,
DateTime finishTime,
string flavor,
string localPath,
string platform,
string serverPath,
DateTime startTime,
string targetNames
)
[ExtensionAttribute]
public:
static IBuildProjectNode^ AddBuildProjectNode(
IBuildInformation^ buildInformation,
DateTime finishTime,
String^ flavor,
String^ localPath,
String^ platform,
String^ serverPath,
DateTime startTime,
String^ targetNames
)
static member AddBuildProjectNode :
buildInformation:IBuildInformation *
finishTime:DateTime *
flavor:string *
localPath:string *
platform:string *
serverPath:string *
startTime:DateTime *
targetNames:string -> IBuildProjectNode
public static function AddBuildProjectNode(
buildInformation : IBuildInformation,
finishTime : DateTime,
flavor : String,
localPath : String,
platform : String,
serverPath : String,
startTime : DateTime,
targetNames : String
) : IBuildProjectNode
Parameters
- buildInformation
Type: Microsoft.TeamFoundation.Build.Client.IBuildInformation
The build information to which the message will be added.
- finishTime
Type: System.DateTime
The time at which the project finished building.
- flavor
Type: System.String
The flavor (configuration) the project was built for.
- localPath
Type: System.String
The local path of the project file.
- platform
Type: System.String
The platform the project was built for.
- serverPath
Type: System.String
The server path of the project file.
- startTime
Type: System.DateTime
The time at which the project was built.
- targetNames
Type: System.String
The targets for which the project was built.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildProjectNode
The project node.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IBuildInformation. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
.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.