Marshal.ZeroFreeBSTR(IntPtr) Método

Definição

Libera um ponteiro BSTR que foi alocado usando o SecureStringToBSTR(SecureString) método.

public:
 static void ZeroFreeBSTR(IntPtr s);
[System.Security.SecurityCritical]
public static void ZeroFreeBSTR(IntPtr s);
public static void ZeroFreeBSTR(IntPtr s);
[<System.Security.SecurityCritical>]
static member ZeroFreeBSTR : nativeint -> unit
static member ZeroFreeBSTR : nativeint -> unit
Public Shared Sub ZeroFreeBSTR (s As IntPtr)

Parâmetros

s
IntPtr

nativeint

O endereço do BSTR para gratuito.

Atributos

Comentários

O ZeroFreeBSTR método primeiro define o conteúdo do BSTR como zero e, em seguida, libera o BSTR.

Aplica-se a