IFinder.TryFindForReplace Yöntem

Tanım

Aşırı Yüklemeler

TryFindForReplace(Span, String)

Tüm anlık görüntü spshot içindeki ilk/son örneği bulmayı deneyin. expandedReplacePattern değiştirme için kullanılması gereken metindir (Regex alternatifleri için hesaplama).

TryFindForReplace(Span, Span, String)

İçindeki ilk/son örneği bulmayı deneyin searchRange . expandedReplacePattern değiştirme için kullanılması gereken metindir (Regex alternatifleri için hesaplama).

TryFindForReplace(Int32, Span, String)

Tüm anlık görüntüde sonra/önce gelen ilk/son örneği bulmayı deneyin startingPosition . expandedReplacePattern değiştirme için kullanılması gereken metindir (Regex alternatifleri için hesaplama).

TryFindForReplace(Int32, Span, Span, String)

Öğesinden sonra/sonra ilk/son örneği bulmayı deneyin startingPosition searchRange . expandedReplacePattern değiştirme için kullanılması gereken metindir (Regex alternatifleri için hesaplama).

TryFindForReplace(Span, String)

Tüm anlık görüntü spshot içindeki ilk/son örneği bulmayı deneyin. expandedReplacePattern değiştirme için kullanılması gereken metindir (Regex alternatifleri için hesaplama).

public:
 bool TryFindForReplace([Runtime::InteropServices::Out] Microsoft::VisualStudio::Text::Span % result, [Runtime::InteropServices::Out] System::String ^ % expandedReplacePattern);
public bool TryFindForReplace (out Microsoft.VisualStudio.Text.Span result, out string expandedReplacePattern);
abstract member TryFindForReplace : Span * string -> bool
Public Function TryFindForReplace (ByRef result As Span, ByRef expandedReplacePattern As String) As Boolean

Parametreler

result
Span
expandedReplacePattern
String

Döndürülenler

Boolean

Şunlara uygulanır

TryFindForReplace(Span, Span, String)

İçindeki ilk/son örneği bulmayı deneyin searchRange . expandedReplacePattern değiştirme için kullanılması gereken metindir (Regex alternatifleri için hesaplama).

public:
 bool TryFindForReplace(Microsoft::VisualStudio::Text::Span searchRange, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Text::Span % result, [Runtime::InteropServices::Out] System::String ^ % expandedReplacePattern);
public bool TryFindForReplace (Microsoft.VisualStudio.Text.Span searchRange, out Microsoft.VisualStudio.Text.Span result, out string expandedReplacePattern);
abstract member TryFindForReplace : Microsoft.VisualStudio.Text.Span * Span * string -> bool
Public Function TryFindForReplace (searchRange As Span, ByRef result As Span, ByRef expandedReplacePattern As String) As Boolean

Parametreler

searchRange
Span
result
Span
expandedReplacePattern
String

Döndürülenler

Boolean

Şunlara uygulanır

TryFindForReplace(Int32, Span, String)

Tüm anlık görüntüde sonra/önce gelen ilk/son örneği bulmayı deneyin startingPosition . expandedReplacePattern değiştirme için kullanılması gereken metindir (Regex alternatifleri için hesaplama).

public:
 bool TryFindForReplace(int startingPosition, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Text::Span % result, [Runtime::InteropServices::Out] System::String ^ % expandedReplacePattern);
public bool TryFindForReplace (int startingPosition, out Microsoft.VisualStudio.Text.Span result, out string expandedReplacePattern);
abstract member TryFindForReplace : int * Span * string -> bool
Public Function TryFindForReplace (startingPosition As Integer, ByRef result As Span, ByRef expandedReplacePattern As String) As Boolean

Parametreler

startingPosition
Int32
result
Span
expandedReplacePattern
String

Döndürülenler

Boolean

Şunlara uygulanır

TryFindForReplace(Int32, Span, Span, String)

Öğesinden sonra/sonra ilk/son örneği bulmayı deneyin startingPosition searchRange . expandedReplacePattern değiştirme için kullanılması gereken metindir (Regex alternatifleri için hesaplama).

public:
 bool TryFindForReplace(int startingPosition, Microsoft::VisualStudio::Text::Span searchRange, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Text::Span % result, [Runtime::InteropServices::Out] System::String ^ % expandedReplacePattern);
public bool TryFindForReplace (int startingPosition, Microsoft.VisualStudio.Text.Span searchRange, out Microsoft.VisualStudio.Text.Span result, out string expandedReplacePattern);
abstract member TryFindForReplace : int * Microsoft.VisualStudio.Text.Span * Span * string -> bool
Public Function TryFindForReplace (startingPosition As Integer, searchRange As Span, ByRef result As Span, ByRef expandedReplacePattern As String) As Boolean

Parametreler

startingPosition
Int32
searchRange
Span
result
Span
expandedReplacePattern
String

Döndürülenler

Boolean

Şunlara uygulanır