IVsBuildPropertyStorage.SetItemAttribute(UInt32, String, String) Methode

Definition

Legt den Wert eines Attributs für ein Hierarchieelement fest, das von VSITEMID identifiziert wird.

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

Parameter

item
UInt32

[in] Die VSITEMID für das Element.

pszAttributeName
String

[in] Zeichenfolge mit dem Namen des Attributs.

pszAttributeValue
String

[in] Zeichenfolge mit dem Wert des Attributs.

Gibt zurück

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Gilt für