Find.Wrap Property
Returns or sets what happens if the search begins at a point other than the beginning of the document and the end of the document is reached (or vice versa if Forward is set to False) or if the search text isn't found in the specified selection or range.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim find1 As Find
Dim returnValue As WdFindWrap
returnValue = find1.Wrap
Dim sampleValue As WdFindWrap
find1.Wrap = sampleValue
Syntax
Property Wrap() As WdFindWrap
WdFindWrap Wrap {get; set;}
property WdFindWrap^ Wrap{
WdFindWrap^ get();
Void set(WdFindWrap^);
}
public WdFindWrap get_Wrap();
public void set_Wrap(WdFindWrap);
function get Wrap() : WdFindWrap;
function set Wrap(WdFindWrap);
Remarks
WdFindWrap can be one of the following constants:
wdFindAsk After searching the selection or range, Microsoft Word displays a message asking whether to search the remainder of the document.
wdFindContinue The find operation continues when the beginning or end of the search range is reached.
wdFindStop The find operation ends when the beginning or end of the search range is reached.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Find Interface
Microsoft.Office.Interop.Word Namespace