Glossary:Definition - Pinned

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
 Term Pinned
 Definition  Normally, memory blocks are moved by the Common Language Runtime (CLR) at will—as when garbage collecting. A pinned block of memory has been marked as unmovable. Pinning is necessary; so, that unmanaged code can use managed pointer types without having the data moved unexpectedly. For example, pointers for passing buffer references to Win32 API functions would be invalid if the buffer were relocated in memory without the knowledge of the Win32 API.
 See also
This C# Online.NET definition is from the Glossary of .NET / C# Terms.

Glossary of .NET / C# Terms
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0-9
edit

Personal tools