Creates an ICodeMethod object representing a method in the class.
[Visual Basic] Function CreateMethod( _ ByVal name As String, _ ByVal arguments() As ICodeParameter, _ ByVal returnType As ICodeClass, _ ByVal modifiers As Integer _ ) As ICodeMethod [C#] ICodeMethod CreateMethod( string name, ICodeParameter[] arguments, ICodeClass returnType, int modifiers ); [C++] ICodeMethod* CreateMethod( String* name, ICodeParameter* arguments[], ICodeClass* returnType, int modifiers ) = 0; [JScript] function CreateMethod( name : String, arguments : ICodeParameter[], returnType : ICodeClass, modifiers : int ) : ICodeMethod;
An ICodeMethod object containing the specified parameters.
The ICodeMethod will be positioned in the first available location.
ICodeClass Interface | ICodeClass Members | System.ComponentModel.Design.CodeModel Namespace | ICodeMethod | ICodeParameter | MemberModifier