共用方式為


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

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("E7355FDF-A118-48F5-9655-7EFD9D2DC352")> _
Public Interface IVsBuildPropertyStorage
'用途
Dim instance As 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

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, and Project Subtype Sample.

Notes to Implementers

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

See Also

Reference

IVsBuildPropertyStorage Members

Microsoft.VisualStudio.Shell.Interop Namespace