Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CodeTypeParameter Members

Represents a type parameter of a generic type or method.

The following tables list the members exposed by the CodeTypeParameter type.

  Name Description
Public method CodeTypeParameter Overloaded. Initializes a new instance of the CodeTypeParameter class.

  Name Description
Public property Constraints Gets the constraints for the type parameter.
Public property CustomAttributes Gets the custom attributes of the type parameter.
Public property HasConstructorConstraint Gets or sets a value indicating whether the type parameter has a constructor constraint.
Public property Name Gets or sets the name of the type parameter.
Public property UserData  Gets the user-definable data for the current object.(inherited from CodeObject)

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Community Additions

© 2015 Microsoft