共用方式為


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

'宣告
Function GetOptions ( _
    ByRef pOptions As UInteger _
) As Integer
'用途
Dim instance As IVsObjectListOwner
Dim pOptions As UInteger
Dim returnValue As Integer

returnValue = instance.GetOptions(pOptions)
int GetOptions(
    ref uint pOptions
)
int GetOptions(
    unsigned int% pOptions
)
abstract GetOptions : 
        pOptions:uint32 byref -> int 
function GetOptions(
    pOptions : uint
) : int

Parameters

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 vsshell.idl:

HRESULT IVsObjectListOwner::GetOptions(VSOBJLISTOWNEROTPIONS *pOptions);

.NET Framework Security

See Also

Reference

IVsObjectListOwner Interface

IVsObjectListOwner Members

Microsoft.VisualStudio.Shell.Interop Namespace