CodeExpression Class

 

Represents a code expression. This is a base class for other code expression objects that is never instantiated.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

System.Object
  System.CodeDom.CodeObject
    System.CodeDom.CodeExpression
      System.CodeDom.CodeArgumentReferenceExpression
      System.CodeDom.CodeArrayCreateExpression
      System.CodeDom.CodeArrayIndexerExpression
      System.CodeDom.CodeBaseReferenceExpression
      System.CodeDom.CodeBinaryOperatorExpression
      System.CodeDom.CodeCastExpression
      System.CodeDom.CodeDefaultValueExpression
      System.CodeDom.CodeDelegateCreateExpression
      System.CodeDom.CodeDelegateInvokeExpression
      System.CodeDom.CodeDirectionExpression
      System.CodeDom.CodeEventReferenceExpression
      System.CodeDom.CodeFieldReferenceExpression
      System.CodeDom.CodeIndexerExpression
      System.CodeDom.CodeMethodInvokeExpression
      System.CodeDom.CodeMethodReferenceExpression
      System.CodeDom.CodeObjectCreateExpression
      System.CodeDom.CodeParameterDeclarationExpression
      System.CodeDom.CodePrimitiveExpression
      System.CodeDom.CodePropertyReferenceExpression
      System.CodeDom.CodePropertySetValueReferenceExpression
      System.CodeDom.CodeSnippetExpression
      System.CodeDom.CodeThisReferenceExpression
      System.CodeDom.CodeTypeOfExpression
      System.CodeDom.CodeTypeReferenceExpression
      System.CodeDom.CodeVariableReferenceExpression

[SerializableAttribute]
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
[ComVisibleAttribute(true)]
public class CodeExpression : CodeObject

NameDescription
System_CAPS_pubmethodCodeExpression()

Initializes a new instance of the CodeExpression class.

NameDescription
System_CAPS_pubpropertyUserData

Gets the user-definable data for the current object.(Inherited from CodeObject.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

CodeExpression provides a base class for code expressions within the System.CodeDom namespace. CodeExpression is never instantiated. Instead it provides an abstract base class for other types of code expressions.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: