FileTopicFactory.Unregister Method
- Namespace
- Kampute.DocToolkit
- Assembly
- Kampute.DocToolkit.dll
| FileTopicFactory.Unregister(string) | Unregisters a topic type for the specified file extension. |
| FileTopicFactory.Unregister<TTopic>() | Unregisters a topic type for all associated file extensions. |
FileTopicFactory.Unregister(string)
Unregisters a topic type for the specified file extension.
public static void Unregister(string fileExtension)Parameters
fileExtensionstring- The file extension (including the leading period) to unregister the topic type for.
Exceptions
- ArgumentNullException
- Thrown when
fileExtensionisnull.
FileTopicFactory.Unregister<TTopic>()
Unregisters a topic type for all associated file extensions.
public static void Unregister<TTopic>()
where TTopic : FileTopicType Parameters
TTopic- The type of the topic to unregister.
