LogWriter.GetFilter<T> Method
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Returns the filter of type T.
Namespace: Microsoft.Practices.EnterpriseLibrary.Logging
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)
Syntax
'Declaration
PublicFunctionGetFilter(Of T As {Class, ILogFilter}) As T
public T GetFilter<T>()
where T : class, ILogFilter
public:
generic<typename T>
where T : ref class, ILogFilter
T GetFilter()
JScript does not support generic types or methods.
Type Parameters
- T
The type of filter requiered.
Return Value
The instance of T in the filters collection, or nulla null reference (Nothing in Visual Basic) if there is no such instance.
See Also
Microsoft.Practices.EnterpriseLibrary.Logging Namespace
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |