Sdílet prostřednictvím


ISimpleErrorContext.AddWarning – metoda

Toto rozhraní API podporuje infrastrukturu rozhraní .NET Framework a není určeno pro použití přímo v kódu.

Microsoft pouze pro interní použití.

Obor názvů:  Microsoft.VisualStudio.VCProjectEngine
Sestavení:  Microsoft.VisualStudio.VCProjectEngine (v Microsoft.VisualStudio.VCProjectEngine.dll)

Syntaxe

'Deklarace
Sub AddWarning ( _
    text As String, _
    warningID As String, _
    File As String, _
    line As Integer _
)
void AddWarning(
    string text,
    string warningID,
    string File,
    int line
)
void AddWarning(
    [InAttribute] String^ text, 
    [InAttribute] String^ warningID, 
    [InAttribute] String^ File, 
    [InAttribute] int line
)
abstract AddWarning : 
        text:string * 
        warningID:string * 
        File:string * 
        line:int -> unit
function AddWarning(
    text : String, 
    warningID : String, 
    File : String, 
    line : int
)

Parametry

  • text
    Typ: String

    Text upozornění

  • warningID
    Typ: String

    ID upozornění

  • File
    Typ: String

    Soubor, který obsahuje upozornění

  • line
    Typ: Int32

    Řádek v souboru

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

ISimpleErrorContext Rozhraní

Microsoft.VisualStudio.VCProjectEngine – obor názvů