CompilerType.Equals Method (Object)

Determines whether the specified object represents the same code provider and compiler settings as the current instance of CompilerType.

Namespace: System.Web.Compilation
Assembly: System.Web (in system.web.dll)

public:
virtual bool Equals (
	Object^ o
) override
public boolean Equals (
	Object o
)
public override function Equals (
	o : Object
) : boolean
Not applicable.

Parameters

o

The object to compare with the current instance of CompilerType.

Return Value

true if o is a CompilerType object and its value is the same as this instance; otherwise, false.

The Equals method overrides the Object.Equals method.

Equals compares two instances based on their CodeDomProviderType, CompilerParameters.WarningLevel, CompilerParameters.CompilerOptions, and CompilerParameters.IncludeDebugInformation properties.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: