Windward Engine API Reference
GetMetrics(Stream) Method
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > Report Class > GetMetrics Method : GetMetrics(Stream) Method




template
The report template.

Glossary Item Box

Returns information about all vars, datasources, and tags referenced in the template. If there is a <wr:set var='name' value='3'/> that will not be in this vars list.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetMetrics( _
   ByVal template As Stream _
) As TemplateMetrics
Visual Basic (Usage)Copy Code
Dim template As Stream
Dim value As TemplateMetrics
 
value = Report.GetMetrics(template)
C# 
public static TemplateMetrics GetMetrics( 
   Stream template
)
Managed Extensions for C++ 
public: static TemplateMetrics* GetMetrics( 
   Stream* template
) 
C++/CLI 
public:
static TemplateMetrics^ GetMetrics( 
   Stream^ template
) 

Parameters

template
The report template.

Return Value

The information about of all vars, datasources, and tags.

Exceptions

ExceptionDescription
net.windward.tags.TagExceptionthrown if there is an unmatched if/while - end. Not thrown in debug mode.
java.io.IOExceptionthrown if have problems accessing the template stream

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family

See Also

© 2019 All Rights Reserved.