2004-12-21 19:47:55 +00:00
<Type Name= "Argv" FullName= "GLib.Argv" >
<TypeSignature Language= "C#" Value= "public class Argv" Maintainer= "auto" />
<AssemblyInfo >
<AssemblyName > glib-sharp</AssemblyName>
<AssemblyPublicKey > [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
2007-12-06 17:36:20 +00:00
<AssemblyVersion > 2.12.0.0</AssemblyVersion>
2004-12-21 19:47:55 +00:00
</AssemblyInfo>
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Docs >
<summary > Argv marshaling class.</summary>
2006-01-30 23:34:50 +00:00
<remarks > Argv class is used to get the arguments passed to the program from the command line.
2007-01-15 21:19:09 +00:00
<example > <code lang= "shell" >
2006-01-30 23:34:50 +00:00
$mono hello.exe 1 2 3 4
2007-01-15 21:19:09 +00:00
</code> </example>
2006-01-30 23:34:50 +00:00
Then you application [hello.exe] will be able to access these arguments passed from the command line,
[1,2,3,4 in this case] using the Glib.Argv class.
</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-12-21 19:47:55 +00:00
</Docs>
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
<Members >
<Member MemberName= "GetArgs" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public string[] GetArgs (int argc);" />
2004-12-21 19:47:55 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.String[]</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "argc" Type= "System.Int32" />
</Parameters>
<Docs >
<summary > Gets a string array containing a specified number of arguments.</summary>
<param name= "argc" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:System.String[]" /> </returns>
<remarks />
</Docs>
</Member>
<Member MemberName= ".ctor" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Argv (string[] args);" />
2004-12-21 19:47:55 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "args" Type= "System.String[]" />
</Parameters>
<Docs >
<summary > Creates an Argv marshaler.</summary>
<param name= "args" > a <see cref= "T:System.String" /> </param>
<remarks />
</Docs>
</Member>
<Member MemberName= "Handle" >
<MemberSignature Language= "C#" Value= "public IntPtr Handle { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.IntPtr</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Native pointer to the argument array.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.IntPtr" /> </value>
2004-12-21 19:47:55 +00:00
<remarks />
</Docs>
</Member>
2005-01-11 20:49:50 +00:00
<Member MemberName= ".ctor" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Argv (string[] args, bool add_program_name);" />
2005-01-11 20:49:50 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "args" Type= "System.String[]" />
<Parameter Name= "add_program_name" Type= "System.Boolean" />
</Parameters>
<Docs >
<summary > Public constructor</summary>
<param name= "args" > a <see cref= "T:System.String" /> </param>
<param name= "add_program_name" > a <see cref= "T:System.Boolean" /> </param>
2005-05-23 20:41:51 +00:00
<remarks > If <paramref name= "add_program_name" /> is <see langword= "true" /> , the native argv will also contain a leading string containing the program name reported in the first element of the array returned by <see cref= "M:System.Environment.GetCommandLineArgs" /> .</remarks>
2005-01-11 20:49:50 +00:00
</Docs>
</Member>
2004-12-21 19:47:55 +00:00
</Members>
2006-08-03 17:18:38 +00:00
</Type>