This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Microsoft Internal Use Only.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
声明
Sub AddWarning ( _
text As String, _
warningID As String, _
File As String, _
line As Integer _
)
用法
Dim instance As ISimpleErrorContext
Dim text As String
Dim warningID As String
Dim File As String
Dim line As Integer
instance.AddWarning(text, warningID, File, _
line)
void AddWarning(
string text,
string warningID,
string File,
int line
)
void AddWarning(
[InAttribute] String^ text,
[InAttribute] String^ warningID,
[InAttribute] String^ File,
[InAttribute] int line
)
function AddWarning(
text : String,
warningID : String,
File : String,
line : int
)
Parameters
text
Type: System.String
warningID
Type: System.String
File
Type: System.String
line
Type: System.Int32
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.