IVsUserContextItem::CountAttributes Method (String^, Int32)
Visual Studio 2015
Counts the attributes of the user-selected item in the shell.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pszAttrName
-
Type:
System::String^
[in] The string name of the attribute of the UserContextItem.
- pc
-
Type:
System::Int32
[out] The number of attributes in the UserContextItem.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From context.idl:
HRESULT IVsUserContextItem::CountAttributes( [in] LPCOLESTR pszAttrName, [out, retval] int * pc );
Show: