Assembles an IContentResource into an 
              IContentItem.
            
    Namespace: 
   Endeca.Data.Content.AssemblerAssembly: Endeca.Data.Content (in Endeca.Data.Content.dll) Version: 2.1.2.0 (2.1.2.0)
 Syntax
Syntax
| C# | 
|---|
| public IContentItem Assemble( IContentContext pContext, IContentResource pResource ) | 
| Visual Basic (Declaration) | 
|---|
| Public Function Assemble ( _ pContext As IContentContext, _ pResource As IContentResource _ ) As IContentItem | 
| Visual C++ | 
|---|
| public: IContentItem^ Assemble( IContentContext^ pContext, IContentResource^ pResource ) | 
Parameters
- pContext
- Type: Endeca.Data.Content.Assembler..::.IContentContext
 The context within which the resource is being assembled
- pResource
- Type: Endeca.Data.Content.Assembler..::.IContentResource
 The resource to assemble
Return Value
The assembled item Exceptions
Exceptions
| Exception | Condition | 
|---|---|
| System..::.InvalidOperationException | If any problem occurs while processing the content an InvalidOperationException will be thrown. | 





