NativeMethods.GetCurrentThreadId Method

Returns the thread identifier of the calling thread.

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Shared Function GetCurrentThreadId As Integer
'Usage
Dim returnValue As Integer

returnValue = NativeMethods.GetCurrentThreadId()
public static int GetCurrentThreadId()
public:
static int GetCurrentThreadId()
public static function GetCurrentThreadId() : int
static member GetCurrentThreadId : unit -> int 

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

NativeMethods Class

NativeMethods Members

Microsoft.VisualStudio Namespace