共用方式為


IVsUpgradeBuildPropertyStorage Interface

Definition

Upgrades build-related information in a project file.

public interface class IVsUpgradeBuildPropertyStorage
public interface class IVsUpgradeBuildPropertyStorage
__interface IVsUpgradeBuildPropertyStorage
[System.Runtime.InteropServices.Guid("27712A1D-ABEA-42E2-95A5-31D370759429")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsUpgradeBuildPropertyStorage
[System.Runtime.InteropServices.Guid("27712A1D-ABEA-42E2-95A5-31D370759429")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUpgradeBuildPropertyStorage
[<System.Runtime.InteropServices.Guid("27712A1D-ABEA-42E2-95A5-31D370759429")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsUpgradeBuildPropertyStorage = interface
[<System.Runtime.InteropServices.Guid("27712A1D-ABEA-42E2-95A5-31D370759429")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUpgradeBuildPropertyStorage = interface
Public Interface IVsUpgradeBuildPropertyStorage
Attributes

Remarks

This interface is implemented by a base project implementation that is able to be flavored (aggregated via IVsAggregatableProjectFactory). A pointer to this interface is passed to project flavor implementations during the upgrade process for a project file using IVsProjectFlavorUpgradeViaFactory.

Methods

AddNewImport(String, String)

Add a new import to a project file.

GetImports(Array, Array)

Gets multiple imports from a project file.

GetPropertyValue(String, String, UInt32, String)

Gets the value of a specified property from a project file.

RemoveImport(String, String)

Removes an import from a project file.

RemoveProperty(String, String, UInt32)

Removes a property from a project file.

ReplaceImport(String, String, String, String)

Replaces an import in the project file with a new import.

SetPropertyValue(String, String, UInt32, String)

Sets a property value in a project file.

Applies to