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)

[InterfaceTypeAttribute()]
[GuidAttribute("E7355FDF-A118-48F5-9655-7EFD9D2DC352")]
public interface IVsBuildPropertyStorage

The IVsBuildPropertyStorage type exposes the following members.

  NameDescription
Public methodGetItemAttributeRetrieves the value of an attribute for a hierarchy item identified by VSITEMID.
Public methodGetPropertyValueGets an MSBuild property value.
Public methodRemovePropertyUsed by a project subtype to remove an MSBuild property.
Public methodSetItemAttributeSets the value of an attribute for a hierarchy item identified by VSITEMID.
Public methodSetPropertyValueUsed by a project subtype to set an MSBuild property value.
Top

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft