ITextSearchService2.FindForReplace 메서드 (SnapshotPoint, String, String, FindOptions, String%)

네임스페이스:  Microsoft.VisualStudio.Text.Operations
어셈블리:  Microsoft.VisualStudio.Text.Logic(Microsoft.VisualStudio.Text.Logic.dll)

구문

‘선언
Function FindForReplace ( _
    startingPosition As SnapshotPoint, _
    searchPattern As String, _
    replacePattern As String, _
    options As FindOptions, _
    <OutAttribute> ByRef expandedReplacePattern As String _
) As Nullable(Of SnapshotSpan)
Nullable<SnapshotSpan> FindForReplace(
    SnapshotPoint startingPosition,
    string searchPattern,
    string replacePattern,
    FindOptions options,
    out string expandedReplacePattern
)
Nullable<SnapshotSpan> FindForReplace(
    SnapshotPoint startingPosition, 
    String^ searchPattern, 
    String^ replacePattern, 
    FindOptions options, 
    [OutAttribute] String^% expandedReplacePattern
)
abstract FindForReplace : 
        startingPosition:SnapshotPoint * 
        searchPattern:string * 
        replacePattern:string * 
        options:FindOptions * 
        expandedReplacePattern:string byref -> Nullable<SnapshotSpan> 
function FindForReplace(
    startingPosition : SnapshotPoint, 
    searchPattern : String, 
    replacePattern : String, 
    options : FindOptions, 
    expandedReplacePattern : String
) : Nullable<SnapshotSpan>

매개 변수

  • searchPattern
    형식: String
  • replacePattern
    형식: String
  • expandedReplacePattern
    형식: String%

반환 값

형식: Nullable<SnapshotSpan>

.NET Framework 보안

참고 항목

참조

ITextSearchService2 인터페이스

FindForReplace 오버로드

Microsoft.VisualStudio.Text.Operations 네임스페이스