Creates an ICodeMethod object representing a method in the class and positions it in the first available location.
[Visual Basic] Function CreateMethodFirst( _ ByVal name As String, _ ByVal arguments() As ICodeParameter, _ ByVal returnType As ICodeClass, _ ByVal modifiers As Integer _ ) As ICodeMethod [C#] ICodeMethod CreateMethodFirst( string name, ICodeParameter[] arguments, ICodeClass returnType, int modifiers ); [C++] ICodeMethod* CreateMethodFirst( String* name, ICodeParameter* arguments[], ICodeClass* returnType, int modifiers ) = 0; [JScript] function CreateMethodFirst( 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