DiagramDocView.GetCapabilities Method
Specifies which search options to support.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Public Function GetCapabilities ( _
pfImage As Boolean(), _
pgrfOptions As UInteger() _
) As Integer
public int GetCapabilities(
bool[] pfImage,
uint[] pgrfOptions
)
public:
virtual int GetCapabilities(
array<bool>^ pfImage,
array<unsigned int>^ pgrfOptions
) sealed
abstract GetCapabilities :
pfImage:bool[] *
pgrfOptions:uint32[] -> int
override GetCapabilities :
pfImage:bool[] *
pgrfOptions:uint32[] -> int
public final function GetCapabilities(
pfImage : boolean[],
pgrfOptions : uint[]
) : int
Parameters
- pfImage
Type: array<System.Boolean[]
true if IVsTextImage is supported; otherwise, false.
- pgrfOptions
Type: array<System.UInt32[]
The support options.
Return Value
Type: System.Int32
S_OK if the search option is supported.
Implements
IVsFindTarget.GetCapabilities(array<Boolean[], array<UInt32[])
Remarks
By default, IVsTextImage is not supported.
This method is part of the IVsFindTarget interface. You can use all options for this interface except Find and Find/Replace.
.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.