This document is archived and information here might be outdated. Recommended version.
Setup layer attributes to view.
[Visual Basic .NET] Public Property Layer As ILayer
[C#] public ILayer Layer {get; set;}