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

‘선언
Function UpdateAttributeStatus ( _
    ByRef afActive As Integer _
) As Integer
‘사용 방법
Dim instance As IVsHelpAttributeList
Dim afActive As Integer
Dim returnValue As Integer

returnValue = instance.UpdateAttributeStatus(afActive)
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

See Also

Reference

IVsHelpAttributeList Interface

IVsHelpAttributeList Members

Microsoft.VisualStudio.Shell.Interop Namespace