IVsUpgradeBuildPropertyStorage::RemoveProperty Method (String^, String^, UInt32)

 

Removes a property from a project file.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

int RemoveProperty(
	String^ pszPropName,
	String^ pszConfigName,
	unsigned int storage
)

Parameters

pszPropName
Type: System::String^

[in] Name of the property to remove.

pszConfigName
Type: System::String^

[in] Configuration associated with the property.

storage
Type: System::UInt32

[in] _PersistStorageType specifying whether the property is stored in a project or user file.

Return Value

Type: System::Int32

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

From vsshell90.idl:

HRESULT RemoveProperty(
    [in] LPCOLESTR pszPropName,
    [in] LPCOLESTR pszConfigName,
    [in] PersistStorageType storage,
);
Return to top
Show: