Removes all thumbnails elements from the
WebThumbnailViewer control.
Syntax
Visual Basic (Declaration) | |
---|
Public Sub Clear() |
Managed Extensions for C++ | |
---|
public: void Clear(); |
C++/CLI | |
---|
public:
void Clear(); |
Example
This example clears the thumbnails if there any.
Visual Basic | Copy Code |
---|
Public Sub WebThumbnailViewer_Clear(ByVal webThumbnailViewer As WebThumbnailViewer)
If (webThumbnailViewer.Count > 1) Then
webThumbnailViewer.Clear()
End If
End Sub |
C# | Copy Code |
---|
public void WebThumbnailViewer_Clear(WebThumbnailViewer webThumbnailViewer) { if(webThumbnailViewer.Count > 1) { webThumbnailViewer.Clear(); } } |
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also