| ICategoryNodeRemoveContentItemT Method  | 
        
        
          
         
            Removes association of this CategoryNode from a given content item.
            
 
    Namespace: 
   Ingeniux.CMS
    Assembly:
   Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.5.94
 Syntax
Syntaxbool RemoveContentItem<T>(
	T contentItem
)
where T : IContentItem
Function RemoveContentItem(Of T As IContentItem) ( 
	contentItem As T
) As Boolean
generic<typename T>
where T : IContentItem
bool RemoveContentItem(
	T contentItem
)
abstract RemoveContentItem : 
        contentItem : 'T -> bool  when 'T : IContentItem
Parameters
- contentItem
- Type: T
 [Missing <param name="contentItem"/> documentation for "M:Ingeniux.CMS.ICategoryNode.RemoveContentItem``1(``0)"] 
Type Parameters
- T
- Content item from which to remove association.
Return Value
Type: 
BooleanTrue if association exist, false otherwise.
 Examples
Examples
            Example removing category association of asset in custom hook:
            
var assetItem = session.Site.Asset("a/100");
if(assetItem != null){
    category.RemoveContentItem(assetItem);
} See Also
See Also