Share via


IVsUpgradeBuildPropertyStorage.GetPropertyValue Method

Definition

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

public:
 int GetPropertyValue(System::String ^ pszPropName, System::String ^ pszConfigName, System::UInt32 storage, [Runtime::InteropServices::Out] System::String ^ % pbstrPropValue);
int GetPropertyValue(std::wstring const & pszPropName, std::wstring const & pszConfigName, unsigned int storage, [Runtime::InteropServices::Out] std::wstring const & & pbstrPropValue);
public int GetPropertyValue (string pszPropName, string pszConfigName, uint storage, out string pbstrPropValue);
abstract member GetPropertyValue : string * string * uint32 * string -> int
Public Function GetPropertyValue (pszPropName As String, pszConfigName As String, storage As UInteger, ByRef pbstrPropValue As String) As Integer

Parameters

pszPropName
String

[in] Name of the property.

pszConfigName
String

[in] Configuration associated with the property.

storage
UInt32

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

pbstrPropValue
String

[out] Value of the property.

Returns

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

Remarks

COM Signature

From vsshell90.idl:

HRESULT GetPropertyValue(  
    [in] LPCOLESTR pszPropName,  
    [in] LPCOLESTR pszConfigName,  
    [in] PersistStorageType storage,  
    [out, retval] BSTR* pbstrPropValue  
);  

Applies to