Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

139 lines
7.8 KiB
XML

<?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 &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; 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>