IVsBuildPropertyStorage.SetItemAttribute Method (UInt32, String, String)

 

Sets the value of an attribute for a hierarchy item identified by VSITEMID.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

abstract SetItemAttribute : 
        item:uint32 *
        pszAttributeName:string *
        pszAttributeValue:string -> int

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.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: