다음을 통해 공유


IVsBuildPropertyStorage.RemoveProperty(String, String, UInt32) Method

Definition

Used by a project subtype to remove an MSBuild property.

public:
 int RemoveProperty(System::String ^ pszPropName, System::String ^ pszConfigName, System::UInt32 storage);
public:
 int RemoveProperty(Platform::String ^ pszPropName, Platform::String ^ pszConfigName, unsigned int storage);
int RemoveProperty(std::wstring const & pszPropName, std::wstring const & pszConfigName, unsigned int storage);
public int RemoveProperty (string pszPropName, string pszConfigName, uint storage);
abstract member RemoveProperty : string * string * uint32 -> int
Public Function RemoveProperty (pszPropName As String, pszConfigName As String, storage As UInteger) As Integer

Parameters

pszPropName
String

[in] Name of the build property to remove.

pszConfigName
String

[in] Name of the build configuration.

storage
UInt32

[in] Storage type for file persistence. Values are taken from the _PersistStorageType enumeration.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsBuildPropertyStorage::RemoveProperty(  
   [in] LPCOLESTR pszPropName,  
   [in] LPCOLESTR pszConfigName,  
   [in] PersistStorageType storage  
);  

This method can be employed by a project subtype to remove an MSBuild property and thus enable the project subtype to influence the base project's build process. For more information on project subtypes, see Project Subtype Overviewd.

Applies to