Compartir a través de


IVsHelpAttributeList.GetAttributeStatusVal Method

Gets the status of an attribute value.

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

Syntax

'Declaración
Function GetAttributeStatusVal ( _
    bstrValue As String, _
    type As ATTRVALUETYPE, _
    <OutAttribute> ByRef pfActive As Integer _
) As Integer
'Uso
Dim instance As IVsHelpAttributeList
Dim bstrValue As String
Dim type As ATTRVALUETYPE
Dim pfActive As Integer
Dim returnValue As Integer

returnValue = instance.GetAttributeStatusVal(bstrValue, _
    type, pfActive)
int GetAttributeStatusVal(
    string bstrValue,
    ATTRVALUETYPE type,
    out int pfActive
)
int GetAttributeStatusVal(
    [InAttribute] String^ bstrValue, 
    [InAttribute] ATTRVALUETYPE type, 
    [OutAttribute] int% pfActive
)
abstract GetAttributeStatusVal : 
        bstrValue:string * 
        type:ATTRVALUETYPE * 
        pfActive:int byref -> int 
function GetAttributeStatusVal(
    bstrValue : String, 
    type : ATTRVALUETYPE, 
    pfActive : int
) : int

Parameters

  • bstrValue
    Type: System.String
    [in] Pointer to a string containing the value.
  • pfActive
    Type: System.Int32%
    [out] 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::GetAttributeStatusVal(
   [in] BSTR bstrValue, 
   [in] ATTRVALUETYPE type,    [out] BOOL *pfActive
);

.NET Framework Security

See Also

Reference

IVsHelpAttributeList Interface

IVsHelpAttributeList Members

Microsoft.VisualStudio.Shell.Interop Namespace