Marshal.ZeroFreeBSTR-Methode: (IntPtr)
Veröffentlicht: Oktober 2016
Hinweis
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.
Gibt eine BSTR Zeiger, der belegt wurde mit der SecureStringToBSTR Methode.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Syntax
[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
)
Parameter
s
Type: System.IntPtrDie Adresse des freizugebenden BSTR.
Hinweise
Die ZeroFreeBSTR Methode legt zuerst den Inhalt des BSTR auf 0 (null), und dann freigegeben BSTR.
Sicherheit
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Versionsinformationen
Universelle Windows-Plattform
Verfügbar seit 8
.NET Framework
Verfügbar seit 2.0
Portierbare Klassenbibliothek
Unterstützt in: portierbare .NET-Plattformen
Windows Phone
Verfügbar seit 8.1
Siehe auch
Marshal-Klasse
System.Runtime.InteropServices-Namespace
Zurück zum Anfang