Destroys the handle associated with the control.
Syntax
Visual Basic (Declaration) | |
---|
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows Or _
UIPermissionWindow.SafeTopLevelWindows Or _
UIPermissionWindow.AllWindows,
Clipboard=UIPermissionClipboard.NoClipboard,
Action=SecurityAction.Demand Or _
SecurityAction.Deny Or _
SecurityAction.LinkDemand,
Unrestricted=False)>
<SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode,
Assertion=False,
UnmanagedCode=True,
SkipVerification=False,
Execution=False,
ControlThread=False,
ControlEvidence=False,
ControlPolicy=False,
SerializationFormatter=False,
ControlDomainPolicy=False,
ControlPrincipal=False,
ControlAppDomain=False,
RemotingConfiguration=False,
Infrastructure=False,
BindingRedirects=False,
Action=SecurityAction.Demand Or _
SecurityAction.Assert Or _
SecurityAction.Deny Or _
SecurityAction.PermitOnly Or _
SecurityAction.LinkDemand Or _
SecurityAction.InheritanceDemand,
Unrestricted=False)>
Protected Overridable Sub DestroyHandle() |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Medical3DControl
instance.DestroyHandle() |
C# | |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
[UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows |
UIPermissionWindow.SafeTopLevelWindows |
UIPermissionWindow.AllWindows,
Clipboard=UIPermissionClipboard.NoClipboard,
Action=SecurityAction.Demand |
SecurityAction.Deny |
SecurityAction.LinkDemand,
Unrestricted=false)]
[SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode,
Assertion=false,
UnmanagedCode=true,
SkipVerification=false,
Execution=false,
ControlThread=false,
ControlEvidence=false,
ControlPolicy=false,
SerializationFormatter=false,
ControlDomainPolicy=false,
ControlPrincipal=false,
ControlAppDomain=false,
RemotingConfiguration=false,
Infrastructure=false,
BindingRedirects=false,
Action=SecurityAction.Demand |
SecurityAction.Assert |
SecurityAction.Deny |
SecurityAction.PermitOnly |
SecurityAction.LinkDemand |
SecurityAction.InheritanceDemand,
Unrestricted=false)]
protected virtual void DestroyHandle() |
C++/CLI | |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
[UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows |
UIPermissionWindow.SafeTopLevelWindows |
UIPermissionWindow.AllWindows,
Clipboard=UIPermissionClipboard.NoClipboard,
Action=SecurityAction.Demand |
SecurityAction.Deny |
SecurityAction.LinkDemand,
Unrestricted=false)]
[SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode,
Assertion=false,
UnmanagedCode=true,
SkipVerification=false,
Execution=false,
ControlThread=false,
ControlEvidence=false,
ControlPolicy=false,
SerializationFormatter=false,
ControlDomainPolicy=false,
ControlPrincipal=false,
ControlAppDomain=false,
RemotingConfiguration=false,
Infrastructure=false,
BindingRedirects=false,
Action=SecurityAction.Demand |
SecurityAction.Assert |
SecurityAction.Deny |
SecurityAction.PermitOnly |
SecurityAction.LinkDemand |
SecurityAction.InheritanceDemand,
Unrestricted=false)]
protected:
virtual void DestroyHandle(); |
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also