Class BannerAdSize
Inheritance
System.Object
BannerAdSize
Assembly: cs.temp.dll.dll
Syntax
public class BannerAdSize
Constructors
BannerAdSize(Int32, Int32)
Declaration
public BannerAdSize(int width, int height)
Parameters
Type |
Name |
Description |
System.Int32 |
width |
|
System.Int32 |
height |
|
Fields
Banner
Declaration
public static readonly BannerAdSize Banner
Field Value
IABBanner
Declaration
public static readonly BannerAdSize IABBanner
Field Value
Leaderboard
Declaration
public static readonly BannerAdSize Leaderboard
Field Value
MediumRectangle
Declaration
public static readonly BannerAdSize MediumRectangle
Field Value
SmartBanner
Declaration
public static readonly BannerAdSize SmartBanner
Field Value
Properties
Height
Declaration
public int Height { get; }
Property Value
Type |
Description |
System.Int32 |
|
IsSmartBanner
Declaration
public bool IsSmartBanner { get; }
Property Value
Type |
Description |
System.Boolean |
|
Width
Declaration
public int Width { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Operators
Equality(BannerAdSize, BannerAdSize)
Declaration
public static bool operator ==(BannerAdSize a, BannerAdSize b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(BannerAdSize, BannerAdSize)
Declaration
public static bool operator !=(BannerAdSize a, BannerAdSize b)
Parameters
Returns
Type |
Description |
System.Boolean |
|