mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-27 19:15:38 +00:00
168d8431f7
svn path=/trunk/gtk-sharp/; revision=71086
86 lines
3.8 KiB
XML
86 lines
3.8 KiB
XML
<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>
|
|
<AssemblyVersion>2.10.0.0</AssemblyVersion>
|
|
</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>
|
|
<remarks>Argv class is used to get the arguments passed to the program from the command line.
|
|
|
|
<example><code lang="shell">
|
|
$mono hello.exe 1 2 3 4
|
|
</code></example>
|
|
|
|
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>
|
|
<since version="Gtk# 2.4" />
|
|
</Docs>
|
|
<Base>
|
|
<BaseTypeName>System.Object</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Members>
|
|
<Member MemberName="GetArgs">
|
|
<MemberSignature Language="C#" Value="public string[] GetArgs (int argc);" />
|
|
<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">
|
|
<MemberSignature Language="C#" Value="public Argv (string[] args);" />
|
|
<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>
|
|
<value>a <see cref="T:System.IntPtr" /></value>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public Argv (string[] args, bool add_program_name);" />
|
|
<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>
|
|
<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>
|
|
</Members>
|
|
</Type>
|