IVsBuildPropertyStorage.GetItemAttribute Method (UInt32, String, String)
Visual Studio 2015
Retrieves 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 GetItemAttribute( uint item, string pszAttributeName, out string pbstrAttributeValue )
Parameters
- item
-
Type:
System.UInt32
[in] The VSITEMID for the element.
- pszAttributeName
-
Type:
System.String
[in] String containing the name of the attribute.
- pbstrAttributeValue
-
Type:
System.String
[out] 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: