1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="FileAccess" FullName="System.IO.FileAccess" FullNameSP="System_IO_FileAccess" Maintainer="ecma">
<TypeSignature Language="ILASM" Value=".class public sealed serializable FileAccess extends System.Enum" />
<TypeSignature Language="C#" Value="public enum FileAccess" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed FileAccess extends System.Enum" />
<MemberOfLibrary>BCL</MemberOfLibrary>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Attributes>
<Attribute>
<AttributeName>System.Flags</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>For an example of creating a file and writing text to a file, see <format type="text/html"><a href="060CBE06-2ADF-4337-9E7B-961A5C840208">[<topic://cpconwritingtexttofile>]</a></format>. For an example of reading text from a file, see <format type="text/html"><a href="ED180BAA-DFC6-4C69-A725-46E87EDAFB27">[<topic://cpconreadingtextfromfile>]</a></format>. For an example of reading from and writing to a binary file, see <format type="text/html"><a href="E209D949-31E8-44EA-8E38-87F9093F3093">[<topic://cpconReadingWritingToNewlyCreatedDataFile>]</a></format>.</para>
<para>A FileAccess parameter is specified in many of the constructors for <see cref="T:System.IO.File" />, <see cref="T:System.IO.FileInfo" />, <see cref="T:System.IO.FileStream" />, and other constructors where it is important to control the kind of access users have to a file.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Defines constants for read, write, or read/write access to a file.</para>
</summary>
</Docs>
<Members>
<Member MemberName="Read">
<MemberSignature Language="ILASM" Value=".field public static literal valuetype System.IO.FileAccess Read = 0x1" />
<MemberSignature Language="C#" Value="Read" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.IO.FileAccess Read = int32(1)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IO.FileAccess</ReturnType>
</ReturnValue>
<Parameters />
<MemberValue>Read</MemberValue>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Read access to the file. Data can be read from the file. Combine with Write for read/write access.</para>
</summary>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="ReadWrite">
<MemberSignature Language="ILASM" Value=".field public static literal valuetype System.IO.FileAccess ReadWrite = Read | Write" />
<MemberSignature Language="C#" Value="ReadWrite" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.IO.FileAccess ReadWrite = int32(3)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IO.FileAccess</ReturnType>
</ReturnValue>
<Parameters />
<MemberValue>ReadWrite</MemberValue>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Read and write access to the file. Data can be written to and read from the file.</para>
</summary>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Write">
<MemberSignature Language="ILASM" Value=".field public static literal valuetype System.IO.FileAccess Write = 0x2" />
<MemberSignature Language="C#" Value="Write" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.IO.FileAccess Write = int32(2)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IO.FileAccess</ReturnType>
</ReturnValue>
<Parameters />
<MemberValue>Write</MemberValue>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Write access to the file. Data can be written to the file. Combine with Read for read/write access.</para>
</summary>
</Docs>
<Excluded>0</Excluded>
</Member>
</Members>
<TypeExcluded>0</TypeExcluded>
</Type>
|