Partager via


IVsBuildPropertyStorage Interface

Gets and sets MSBuild properties in the project file.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("E7355FDF-A118-48F5-9655-7EFD9D2DC352")> _
Public Interface IVsBuildPropertyStorage
[InterfaceTypeAttribute()]
[GuidAttribute("E7355FDF-A118-48F5-9655-7EFD9D2DC352")]
public interface IVsBuildPropertyStorage
[InterfaceTypeAttribute()]
[GuidAttribute(L"E7355FDF-A118-48F5-9655-7EFD9D2DC352")]
public interface class IVsBuildPropertyStorage
[<InterfaceTypeAttribute()>]
[<GuidAttribute("E7355FDF-A118-48F5-9655-7EFD9D2DC352")>]
type IVsBuildPropertyStorage =  interface end
public interface IVsBuildPropertyStorage

The IVsBuildPropertyStorage type exposes the following members.

Methods

  Name Description
Public method GetItemAttribute Retrieves the value of an attribute for a hierarchy item identified by VSITEMID.
Public method GetPropertyValue Gets an MSBuild property value.
Public method RemoveProperty Used by a project subtype to remove an MSBuild property.
Public method SetItemAttribute Sets the value of an attribute for a hierarchy item identified by VSITEMID.
Public method SetPropertyValue Used by a project subtype to set an MSBuild property value.

Top

Remarks

A project subtype may need to save data in the project file. This interface provides access to the MSBuild properties in the project file.

For more information, see How to: Save Data in Project Files, Project Subtypes Design, Persisting Data in the MSBuild Project File.

Notes to Implementers

Implement IVsBuildPropertyStorage to control the project subtype property values of interest to MSBuild.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace