DiagramLauncher.EnsureDiagramApplication Method
Applies to: SharePoint Foundation 2010
Verifies that the DiagramLauncher Control control is present and registered.
expression.EnsureDiagramApplication()
Parameters
expression
An expression that returns a DiagramLauncher object.
Return Value
true if the DiagramLauncher control is present and registered on the client machine; otherwise, false.
Example
The following example creates a DiagramLauncher object and verifies its presence and registration:
Set objDiagramLauncher = CreateObject("SharePoint.DiagramLauncher")
If IsObject(objDiagramLauncher) Then
objDiagramLauncher.EnsureDiagramApplication()
End If