C# Class System.ComponentModel.Design.HelpKeywordAttribute

Inheritance: System.Attribute
Mostra file Open project: dotnet/corefx Class Usage Examples

Public Properties

Property Type Description
Default HelpKeywordAttribute

Public Methods

Method Description
Equals ( object obj ) : bool

Two instances of a HelpKeywordAttribute are equal if they're HelpKeywords are equal.

GetHashCode ( ) : int

HelpKeywordAttribute ( ) : System

Default constructor, which creates an attribute with a null HelpKeyword.

HelpKeywordAttribute ( Type t ) : System

Creates a HelpKeywordAttribute with the value being the full name of the given type.

HelpKeywordAttribute ( string keyword ) : System

Creates a HelpKeywordAttribute with the value being the given keyword string.

IsDefaultAttribute ( ) : bool

Returns true if this Attribute's HelpKeyword is null.

Method Details

Equals() public method

Two instances of a HelpKeywordAttribute are equal if they're HelpKeywords are equal.
public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

HelpKeywordAttribute() public method

Default constructor, which creates an attribute with a null HelpKeyword.
public HelpKeywordAttribute ( ) : System
return System

HelpKeywordAttribute() public method

Creates a HelpKeywordAttribute with the value being the full name of the given type.
public HelpKeywordAttribute ( Type t ) : System
t System.Type
return System

HelpKeywordAttribute() public method

Creates a HelpKeywordAttribute with the value being the given keyword string.
public HelpKeywordAttribute ( string keyword ) : System
keyword string
return System

IsDefaultAttribute() public method

Returns true if this Attribute's HelpKeyword is null.
public IsDefaultAttribute ( ) : bool
return bool

Property Details

Default public_oe static_oe property

Default value for HelpKeywordAttribute, which is null.
public static HelpKeywordAttribute,System.ComponentModel.Design Default
return HelpKeywordAttribute