Heureka API .NET Documentation
GetLayer(Guid,Nullable<Int32>) Method



The layer identifier.
Period index. If null or zero, the layer that belongs to the InitialState is returned
Gets the layer with a given layer id (Guid).
Syntax
'Declaration
 
Public Overloads Function GetLayer( _
   ByVal layerId As Guid, _
   Optional ByVal period As Nullable(Of Integer) _
) As ApiTreeLayerData
'Usage
 
Dim instance As ApiCompartment
Dim layerId As Guid
Dim period As Nullable(Of Integer)
Dim value As ApiTreeLayerData
 
value = instance.GetLayer(layerId, period)

Parameters

layerId
The layer identifier.
period
Period index. If null or zero, the layer that belongs to the InitialState is returned

Return Value

The layer object if available, null otherwise
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ApiCompartment Class
ApiCompartment Members
Overload List

Send Feedback