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 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="PropertyConverter" FullName="System.Web.UI.PropertyConverter">
<TypeSignature Language="C#" Maintainer="auto" Value="public static class PropertyConverter" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.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>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Web.UI.PropertyConverter" /> class is used by the ASP.NET page framework and is not intended to be accessed directly from your code. You can use the <see cref="T:System.Enum" /> structure to convert string values to and from enumerators, or <see cref="T:System.ComponentModel.TypeConverter" /> to convert objects.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Contains helper functions to convert property values to and from strings.</para>
</summary>
</Docs>
<Members>
<Member MemberName="EnumFromString">
<MemberSignature Language="C#" Value="public static object EnumFromString (Type enumType, string value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="enumType" Type="System.Type" />
<Parameter Name="value" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Web.UI.PropertyConverter.EnumFromString(System.Type,System.String)" /> method is used to convert a string value to its equivalent enumeration value.</para>
<block subset="none" type="note">
<para>This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. To convert a string value to its equivalent enumeration value, use the <see cref="M:System.Enum.Parse(System.Type,System.String)" /> method.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Converts the string representation to a value of the specified enumeration type. </para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An enumeration of type <paramref name="enumType" />.</para>
</returns>
<param name="enumType">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Type" /> that represents the enumeration type to create from the <paramref name="value" /> parameter.</param>
<param name="value">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.String" /> that represents a value in the enumerator.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="EnumToString">
<MemberSignature Language="C#" Value="public static string EnumToString (Type enumType, object enumValue);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="enumType" Type="System.Type" />
<Parameter Name="enumValue" Type="System.Object" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Web.UI.PropertyConverter.EnumToString(System.Type,System.Object)" /> method is used to convert an enumeration value to its equivalent string representation.</para>
<block subset="none" type="note">
<para>This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. To convert an enumeration value to its equivalent string representation, use the <see cref="M:System.Enum.Format(System.Type,System.Object,System.String)" /> method.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Converts the value of the specified enumeration type to its equivalent string representation.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The string representation of <paramref name="enumValue" />.</para>
</returns>
<param name="enumType">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Type" /> that represents the enumeration type of <paramref name="enumValue" />. </param>
<param name="enumValue">
<attribution license="cc4" from="Microsoft" modified="false" />The value to convert. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ObjectFromString">
<MemberSignature Language="C#" Value="public static object ObjectFromString (Type objType, System.Reflection.MemberInfo propertyInfo, string value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="objType" Type="System.Type" />
<Parameter Name="propertyInfo" Type="System.Reflection.MemberInfo" />
<Parameter Name="value" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Web.UI.PropertyConverter.ObjectFromString(System.Type,System.Reflection.MemberInfo,System.String)" /> method is used to convert a string value to an object.</para>
<block subset="none" type="note">
<para>This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. To convert a string value to an object, use the Parse method for that object if the object provides a Parse method. For example, an <see cref="T:System.Int32" /> object can be created from a string through the <see cref="M:System.Int32.Parse(System.String)" /> method.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Converts the string value to the specified object type.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An object of type <paramref name="objType" />.</para>
</returns>
<param name="objType">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Type" /> to create from <paramref name="value" />.</param>
<param name="propertyInfo">
<attribution license="cc4" from="Microsoft" modified="false" />The properties to use during conversion.</param>
<param name="value">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.String" /> to convert into an object.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>
|