IVsBuildPropertyStorage.SetItemAttribute(UInt32, String, String) Yöntem

Tanım

VSITEMıD tarafından tanımlanan bir hiyerarşi öğesi için bir özniteliğin değerini ayarlar.

public:
 int SetItemAttribute(System::UInt32 item, System::String ^ pszAttributeName, System::String ^ pszAttributeValue);
public:
 int SetItemAttribute(unsigned int item, Platform::String ^ pszAttributeName, Platform::String ^ pszAttributeValue);
int SetItemAttribute(unsigned int item, std::wstring const & pszAttributeName, std::wstring const & pszAttributeValue);
public int SetItemAttribute (uint item, string pszAttributeName, string pszAttributeValue);
abstract member SetItemAttribute : uint32 * string * string -> int
Public Function SetItemAttribute (item As UInteger, pszAttributeName As String, pszAttributeValue As String) As Integer

Parametreler

item
UInt32

'ndaki Öğe için VSITEMID.

pszAttributeName
String

'ndaki Özniteliğin adını içeren dize.

pszAttributeValue
String

'ndaki Özniteliğin değerini içeren dize.

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.

Şunlara uygulanır