Marshal.PrelinkAll(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs a pre-link check for all methods on a class.
public:
static void PrelinkAll(Type ^ c);
public static void PrelinkAll (Type c);
[System.Security.SecurityCritical]
public static void PrelinkAll (Type c);
static member PrelinkAll : Type -> unit
[<System.Security.SecurityCritical>]
static member PrelinkAll : Type -> unit
Public Shared Sub PrelinkAll (c As Type)
Parameters
- c
- Type
The class whose methods are to be checked.
- Attributes
Exceptions
The c
parameter is null
.
Remarks
The PrelinkAll method invokes Marshal.Prelink on every method for a given type. Prelink executes one-time method setup tasks without calling each method. You can use PrelinkAll only for platform invoke calls.
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.