Sitecore 5.1.1 API

CodeBuilder Methods

The methods of the CodeBuilder class are listed below. For a complete list of CodeBuilder class members, see the CodeBuilder Members topic.

Public Instance Methods

AddBlank 
AddCommentOverloaded.  
AddRaw 
AddStringOverloaded.  
AddUsing 
AddVariableOverloaded.  
AddVarRef 
AssertContext 
EndAssign 
EndClass 
EndEqual 
EndGet 
EndIf 
EndIfTrue 
EndMethod 
EndMethodCall 
EndNamespace 
EndProperty 
EndReturn 
EndSet 
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetCodeXml 
GetCSharpCode 
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
StartAssign 
StartClassOverloaded.  
StartEqual 
StartGet 
StartIf 
StartIfTrue 
StartMethodOverloaded.  
StartMethodCallOverloaded.  
StartNamespace 
StartPropertyOverloaded.  
StartReturn 
StartSet 
Test 
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

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

See Also

CodeBuilder Class | Sitecore.CodeDom Namespace