SafeIUnknown Constructor (IntPtr)
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Sub New ( _
punk As IntPtr _
)
'Utilisation
Dim punk As IntPtr
Dim instance As New SafeIUnknown(punk)
public SafeIUnknown(
IntPtr punk
)
public:
SafeIUnknown(
IntPtr punk
)
new :
punk:IntPtr -> SafeIUnknown
public function SafeIUnknown(
punk : IntPtr
)
Parameters
- punk
Type: System.IntPtr
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.