T
Northwoods.GoWPF 1.3.5 Assembly
GetLayer<T> Method
See Also  Send Feedback
Northwoods.GoXam Namespace > DiagramPanel Class : GetLayer<T> Method

name
Find a Layer of the given type T with exactly the same Layer.Id as the given name, or return a default layer of the given type.

Syntax

Visual Basic (Declaration) 
Public Function GetLayer(Of T As Layer)( _
   ByVal name As String _
) As T
C# 
public T GetLayer<T>( 
   string name
)where T: Layer

Parameters

name

Type Parameters

T

Remarks

It is an error if it cannot find a layer with the given name nor with the name "" (an empty string).

Requirements

See Also

© 2012 All Rights Reserved.