Documentation Center

C# fragment Template Building Blocks

A C# fragment is small piece of code for executing simple operations on a package. In a C# fragment you can access all items in the Content Manager system using the .NET-based Tridion Object Model, the package you intend to transform, and any parameters passed to the Template Building Block. You can create additional methods in the code fragment (but not classes) and use scripting syntax.