Indicates whether the collection contains a log file with the specified name.
'Declaration
Public Overloads Overrides NotOverridable Function Contains( _
ByVal As System.String _
) As System.Boolean
public override System.bool Contains(
System.string
)
public: System.bool Contains(
System.string*
) override
Parameters
- name
- The logical name of the log to locate.
Return Value
true is the log file with the specified logical name is found.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2