Partager via


IVsObjectListOwner.GetOptions Method

Returns options set for the object list.

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

Syntax

'Declaration
Function GetOptions ( _
    ByRef pOptions As UInteger _
) As Integer
int GetOptions(
    ref uint pOptions
)
int GetOptions(
    unsigned int% pOptions
)
abstract GetOptions : 
        pOptions:uint32 byref -> int
function GetOptions(
    pOptions : uint
) : int

Parameters

  • pOptions
    Type: UInt32%

    [out] Bit flags formed by combining values from the _VSOBJLISTOWNEROTPIONS enumeration.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsObjectListOwner::GetOptions(VSOBJLISTOWNEROTPIONS *pOptions);

.NET Framework Security

See Also

Reference

IVsObjectListOwner Interface

Microsoft.VisualStudio.Shell.Interop Namespace