IVsHelpAttributeList.UpdateAttributeStatus Method
Updates the status of the attribute at the current index set by GetAttributeStatusIndex or GetAttributeValue.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function UpdateAttributeStatus ( _
ByRef afActive As Integer _
) As Integer
int UpdateAttributeStatus(
ref int afActive
)
int UpdateAttributeStatus(
[InAttribute] int% afActive
)
abstract UpdateAttributeStatus :
afActive:int byref -> int
function UpdateAttributeStatus(
afActive : int
) : int
Parameters
afActive
Type: System.Int32%[in] Pointer to a Boolean. Set to true if the attribute is active.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsHelpAttributeList::UpdateAttributeStatus(
[in] BOOL *afActive
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.