Removes all thumbnails elements from the
WebThumbnailViewer control.
Syntax
Visual Basic (Declaration) | |
---|
Public Sub 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also