2004-12-21 19:47:55 +00:00
<Type Name= "Argv" FullName= "GLib.Argv" >
<TypeSignature Language= "C#" Value= "public class Argv" Maintainer= "auto" />
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "ILAsm" Value= ".class public auto ansi beforefieldinit Argv extends System.Object" />
2004-12-21 19:47:55 +00:00
<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>
</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>
2009-01-06 16:29:49 +00:00
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
2004-12-21 19:47:55 +00:00
<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>
<Members >
2009-01-06 16:29:49 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Argv (string[] args);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor(string[] args) cil managed" />
2009-01-06 16:29:49 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
2004-12-21 19:47:55 +00:00
<Parameters >
2009-01-06 16:29:49 +00:00
<Parameter Name= "args" Type= "System.String[]" />
2004-12-21 19:47:55 +00:00
</Parameters>
<Docs >
2009-01-06 16:29:49 +00:00
<param name= "args" > a <see cref= "T:System.String" /> </param>
<summary > Creates an Argv marshaler.</summary>
2004-12-21 19:47:55 +00:00
<remarks />
</Docs>
</Member>
<Member MemberName= ".ctor" >
2009-01-06 16:29:49 +00:00
<MemberSignature Language= "C#" Value= "public Argv (string[] args, bool add_program_name);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor(string[] args, bool add_program_name) cil managed" />
2004-12-21 19:47:55 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "args" Type= "System.String[]" />
2009-01-06 16:29:49 +00:00
<Parameter Name= "add_program_name" Type= "System.Boolean" />
2004-12-21 19:47:55 +00:00
</Parameters>
<Docs >
<param name= "args" > a <see cref= "T:System.String" /> </param>
2009-01-06 16:29:49 +00:00
<param name= "add_program_name" > a <see cref= "T:System.Boolean" /> </param>
<summary > Public constructor</summary>
<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>
</Docs>
</Member>
<Member MemberName= "Finalize" >
<MemberSignature Language= "C#" Value= "~Argv ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig virtual instance void Finalize() cil managed" />
2009-01-06 16:29:49 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Finalizer.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName= "GetArgs" >
<MemberSignature Language= "C#" Value= "public string[] GetArgs (int argc);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance string[] GetArgs(int32 argc) cil managed" />
2009-01-06 16:29:49 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.String[]</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "argc" Type= "System.Int32" />
</Parameters>
<Docs >
<param name= "argc" > a <see cref= "T:System.Int32" /> </param>
<summary > Gets a string array containing a specified number of arguments.</summary>
<returns > a <see cref= "T:System.String[]" /> </returns>
2004-12-21 19:47:55 +00:00
<remarks />
</Docs>
</Member>
<Member MemberName= "Handle" >
2009-01-06 16:29:49 +00:00
<MemberSignature Language= "C#" Value= "public IntPtr Handle { get; }" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".property instance native int Handle" />
2004-12-21 19:47:55 +00:00
<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>
</Members>
2006-08-03 17:18:38 +00:00
</Type>