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
- pOptions
Type: System.UInt32%
[out] Bit flags formed by combining values from the _VSOBJLISTOWNEROTPIONS enumeration.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.