Print Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Prints a message (followed by the current line terminator) to the standard output stream.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)

Syntax

'Declaration
Public Shared Sub Print ( _
    text As String _
)
public static void Print(
    string text
)
public:
static void Print(
    String^ text
)
static member Print : 
        text:string -> unit 
public static function Print(
    text : String
)

Parameters

Remarks

This method does not follow the convention of the .NET Framework class. If you want that behavior, you can implement the following class in your application to obtain it.

public static class MyDebug
{
    [ConditionalAttribute("DEBUG")]
    public static void Print(string text)
    {
        Microsoft.SPOT.Debug.Print(text);
    }

    [ConditionalAttribute("TRACE")]
    public static void Trace(string text)
    {
        Microsoft.SPOT.Debug.Print(text);
    }
}

.NET Framework Security

See Also

Reference

Debug Class

Microsoft.SPOT Namespace