IVsUpgradeBuildPropertyStorage::GetPropertyValue Method (String^, String^, UInt32, String^)
Visual Studio 2015
Gets the value of a specified property from a project file.
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
int GetPropertyValue( String^ pszPropName, String^ pszConfigName, unsigned int storage, [OutAttribute] String^% pbstrPropValue )
Parameters
- pszPropName
-
Type:
System::String^
[in] Name of the property.
- 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.
- pbstrPropValue
-
Type:
System::String^
[out] Value of the property.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell90.idl:
HRESULT GetPropertyValue(
[in] LPCOLESTR pszPropName,
[in] LPCOLESTR pszConfigName,
[in] PersistStorageType storage,
[out, retval] BSTR* pbstrPropValue
);
Show: