共用方式為


IVsBuildPropertyStorage Interface

Definition

Gets and sets MSBuild properties in the project file.

public interface class IVsBuildPropertyStorage
public interface class IVsBuildPropertyStorage
__interface IVsBuildPropertyStorage
[System.Runtime.InteropServices.Guid("E7355FDF-A118-48F5-9655-7EFD9D2DC352")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsBuildPropertyStorage
[<System.Runtime.InteropServices.Guid("E7355FDF-A118-48F5-9655-7EFD9D2DC352")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsBuildPropertyStorage = interface
Public Interface IVsBuildPropertyStorage
Attributes

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

Methods

GetItemAttribute(UInt32, String, String)

Retrieves the value of an attribute for a hierarchy item identified by VSITEMID.

GetPropertyValue(String, String, UInt32, String)

Gets an MSBuild property value.

RemoveProperty(String, String, UInt32)

Used by a project subtype to remove an MSBuild property.

SetItemAttribute(UInt32, String, String)

Sets the value of an attribute for a hierarchy item identified by VSITEMID.

SetPropertyValue(String, String, UInt32, String)

Used by a project subtype to set an MSBuild property value.

Applies to