IVsBuildPropertyStorage.SetItemAttribute(UInt32, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the value of an attribute for a hierarchy item identified by VSITEMID.
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
Parameters
- item
- UInt32
[in] The VSITEMID for the element.
- pszAttributeName
- String
[in] String containing the name of the attribute.
- pszAttributeValue
- String
[in] String containing the value of the attribute.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.