共用方式為


Document.MarkText 方法

這個應用程式開發介面支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

僅限 Microsoft 內部使用。

命名空間:  EnvDTE
組件:  EnvDTE (在 EnvDTE.dll 中)

語法

'宣告
Function MarkText ( _
    Pattern As String, _
    Flags As Integer _
) As Boolean
bool MarkText(
    string Pattern,
    int Flags
)
bool MarkText(
    [InAttribute] String^ Pattern, 
    [InAttribute] int Flags
)
abstract MarkText : 
        Pattern:string * 
        Flags:int -> bool
function MarkText(
    Pattern : String, 
    Flags : int
) : boolean

參數

  • Pattern
    類型:String

    文字模式。

  • Flags
    類型:Int32

    旗標。

傳回值

類型:Boolean

.NET Framework 安全性

請參閱

參考

Document 介面

EnvDTE 命名空間