Delen via


DiagramDocView.GetCapabilities Method

Specifies which search options to support.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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

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

See Also

Reference

DiagramDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace