IVsBuildPropertyStorage::SetItemAttribute Method (UInt32, String^, String^)
Visual Studio 2015
Sets the value of an attribute for a hierarchy item identified by VSITEMID.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int SetItemAttribute( unsigned int item, String^ pszAttributeName, String^ pszAttributeValue )
Parameters
- item
-
Type:
System::UInt32
[in] The VSITEMID for the element.
- pszAttributeName
-
Type:
System::String^
[in] String containing the name of the attribute.
- pszAttributeValue
-
Type:
System::String^
[in] String containing the value of the attribute.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: