Share via


DiagramDocView.GetCapabilities Method

Specifies which search options to support.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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<Boolean[]

    true if IVsTextImage is supported; otherwise, false.

  • pgrfOptions
    Type: array<UInt32[]

    The support options.

Return Value

Type: 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

See Also

Reference

DiagramDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace