次の方法で共有


__VSFTPROPID Enumeration

Specifies target properties.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣言
Public Enumeration __VSFTPROPID
'使用
Dim instance As __VSFTPROPID
public enum __VSFTPROPID
public enum class __VSFTPROPID
type __VSFTPROPID
public enum __VSFTPROPID

Members

Member name Description
VSFTPROPID_DocName VT_BSTR; the full path of filename/persistence moniker.
VSFTPROPID_IsDiskFile VT_BOOL; VARIANT_TRUE if the object is a file on disk
VSFTPROPID_BlockName VT_BSTR; the name of current block.
VSFTPROPID_InitialPattern VT_BSTR; the seed Find pattern - the selection is in single line.
VSFTPROPID_InitialPatternAggressive VT_BSTR; the seed Find pattern - the selection is in a single line, or text near caret if no selection.
VSFTPROPID_WindowFrame VT_UNKNOWN; a pointer to the window frame (IVsWindowFrame) containing the view being searched.
VSFTPROPID_IsFindInFilesForegroundOnly VT_BOOLEAN; indicates that the document must be searched on the foreground thread (UI thread) only. Normally the environment searches on the background thread. The environment does not marshal pointers on a background thread, so if you require that, specify this value instead.

Remarks

All properties are optional.

VSFTPROPID_BlockName is queried even if GetCapabilities does not include FR_Block, since the availability of a block can change during the lifetime of the target.

COM Signature

From textfind.idl:

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace