Removes a content type from the 'database' if the type is unused, otherwise throws an exception.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void RemoveContent( string content )
Public Overridable Sub RemoveContent ( _ content As String _ )
public: virtual void RemoveContent( String^ content )
Parameters
- content (String)
- The content name
Remarks
Throws an InvalidOperationException if the category is currently assigned to a document.