IVsBuildPropertyStorage.SetPropertyValue Yöntem

Tanım

Bir MSBuild özellik değeri ayarlamak için bir proje alt türü tarafından kullanılır.

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

Parametreler

pszPropName
String

'ndaki Build özelliğinin adı.

pszConfigName
String

'ndaki Derleme yapılandırmasının adı.

storage
UInt32

'ndaki Dosya kalıcılığı için depolama türü. Değerler _PersistStorageType numaralandırmasından alınır.

pszPropValue
String

'ndaki MSBuild Özellik değerini belirtir.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

COM Imzası

Vsshell80. IDL adresinden:

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

Şunlara uygulanır