Project.GetProjectExtensions Method

Returns a string value of the XML from the specified element in the ProjectExtensions element.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

Syntax

'Declaration
Public Function GetProjectExtensions ( _
    id As String _
) As String
public string GetProjectExtensions(
    string id
)
public:
String^ GetProjectExtensions(
    String^ id
)
member GetProjectExtensions : 
        id:string -> string
public function GetProjectExtensions(
    id : String
) : String

Parameters

  • id
    Type: System.String

    The name of the element in the ProjectExtensions element to return.

Return Value

Type: System.String
The string value of the specified element in the ProjectExtensions element of the project.

.NET Framework Security

See Also

Reference

Project Class

Microsoft.Build.BuildEngine Namespace