Compartir a través de


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: Int32%

    [in] Pointer to a Boolean. Set to true if the attribute is active.

Return Value

Type: 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

See Also

Reference

IVsHelpAttributeList Interface

Microsoft.VisualStudio.Shell.Interop Namespace