共用方式為


location::current Method

Returns a location object representing the most specific place the calling thread is executing.

static location __cdecl current();

Return Value

A location representing the most specific place the calling thread is executing.

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

location Class