Método Marshal.ZeroFreeBSTR (IntPtr)
Dica
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.
Libera um BSTR ponteiro que foi alocado usando o SecureStringToBSTR método.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (em mscorlib.dll)
Sintaxe
[SecurityCriticalAttribute]
public static void ZeroFreeBSTR(
IntPtr s
)
public:
[SecurityCriticalAttribute]
static void ZeroFreeBSTR(
IntPtr s
)
[<SecurityCriticalAttribute>]
static member ZeroFreeBSTR :
s:nativeint -> unit
<SecurityCriticalAttribute>
Public Shared Sub ZeroFreeBSTR (
s As IntPtr
)
Parâmetros
s
Type: System.IntPtrO endereço do BSTR a ser liberado.
Comentários
O ZeroFreeBSTR método primeiro define o conteúdo do BSTR como zero e, em seguida, libera o BSTR.
Segurança
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Informações de Versão
Plataforma Universal do Windows
Disponível desde 8
.NET Framework
Disponível desde 2.0
Biblioteca de Classes Portátil
Com suporte no: plataformas portáteis do .NET
Windows Phone
Disponível desde 8.1
Confira Também
Classe Marshal
Namespace System.Runtime.InteropServices
Retornar ao início