共用方式為


InformationNodeConverters.AddConfigurationSummary Method (IBuildInformation, String, String)

Adds a configuration summary 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 AddConfigurationSummary ( _
    buildInformation As IBuildInformation, _
    flavor As String, _
    platform As String _
) As IConfigurationSummary
public static IConfigurationSummary AddConfigurationSummary(
    this IBuildInformation buildInformation,
    string flavor,
    string platform
)
[ExtensionAttribute]
public:
static IConfigurationSummary^ AddConfigurationSummary(
    IBuildInformation^ buildInformation, 
    String^ flavor, 
    String^ platform
)
static member AddConfigurationSummary : 
        buildInformation:IBuildInformation * 
        flavor:string * 
        platform:string -> IConfigurationSummary
public static function AddConfigurationSummary(
    buildInformation : IBuildInformation, 
    flavor : String, 
    platform : String
) : IConfigurationSummary

Parameters

  • platform
    Type: System.String

    The platform of the configuration.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IConfigurationSummary
The added configuration summary.

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).

Remarks

Flavor will be a string such as "Debug" or "Release".

Platform will be a string such as "Any CPU" or "x86".

.NET Framework Security

See Also

Reference

InformationNodeConverters Class

AddConfigurationSummary Overload

Microsoft.TeamFoundation.Build.Client Namespace