Removes a content type from the index if the type is unused, otherwise throws an exception.
Declaration Syntax
C# | C# | Visual Basic | Visual Basic | Visual C++ | Visual C++ | F# | F# |
public virtual void RemoveContent( string content, bool checkIfContentCategoryIsUsed )
public virtual void RemoveContent( string content, bool checkIfContentCategoryIsUsed )
Public Overridable Sub RemoveContent ( content As String, checkIfContentCategoryIsUsed As Boolean )
Public Overridable Sub RemoveContent ( content As String, checkIfContentCategoryIsUsed As Boolean )
public: virtual void RemoveContent( String^ content, bool checkIfContentCategoryIsUsed )
public: virtual void RemoveContent( String^ content, bool checkIfContentCategoryIsUsed )
abstract RemoveContent : content : string * checkIfContentCategoryIsUsed : bool -> unit override RemoveContent : content : string * checkIfContentCategoryIsUsed : bool -> unit
abstract RemoveContent : content : string * checkIfContentCategoryIsUsed : bool -> unit override RemoveContent : content : string * checkIfContentCategoryIsUsed : bool -> unit
Remarks
Throws an InvalidOperationException if the category is currently assigned to a document and checkIfContentCategoryIsUsed==true.
Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2015.6.15.120