﻿<?xml version="1.0" encoding="utf-8"?><Type Name="CustomAttributeNamedArgument" FullName="System.Reflection.CustomAttributeNamedArgument"><TypeSignature Language="C#" Value="public struct CustomAttributeNamedArgument" /><TypeSignature Language="ILAsm" Value=".class public sequential ansi serializable sealed beforefieldinit CustomAttributeNamedArgument extends System.ValueType" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.ValueType</BaseTypeName></Base><Interfaces /><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Code that is being examined in the reflection-only context cannot be executed, so it is not always possible to examine custom attributes by creating instances of them and then examining their properties, using methods like <see cref="Overload:System.Attribute.GetCustomAttributes" />, <see cref="Overload:System.Reflection.MemberInfo.GetCustomAttributes" />, and so on. If the code for the attribute type itself is loaded into the reflection-only context, it cannot be executed. </para><para>The <see cref="T:System.Reflection.CustomAttributeNamedArgument" /> structure is used by the <see cref="T:System.Reflection.CustomAttributeData" /> class to provide access to a named argument specified for a custom attribute instance, without executing the code of the corresponding property of the custom attribute type. The <see cref="P:System.Reflection.CustomAttributeNamedArgument.TypedValue" /> property returns a <see cref="T:System.Reflection.CustomAttributeTypedArgument" /> structure that contains the type and value of the named argument.</para><block subset="none" type="note"><para>Whether an argument is named or positional, you must access its type and value by using the <see cref="T:System.Reflection.CustomAttributeTypedArgument" /> structure. </para></block><para>To create instances of the <see cref="T:System.Reflection.CustomAttributeData" /> class, use the static <see cref="Overload:System.Reflection.CustomAttributeData.GetCustomAttributes" /> factory method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a named argument of a custom attribute in the reflection-only context.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public CustomAttributeNamedArgument (System.Reflection.MemberInfo memberInfo, object value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Reflection.MemberInfo memberInfo, object value) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="memberInfo" Type="System.Reflection.MemberInfo" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This constructor is for use by inheritors of the <see cref="T:System.Reflection.CustomAttributeNamedArgument" /> class. It is not intended for use in application code.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Reflection.CustomAttributeNamedArgument" /> class, which represents the specified field or property of the custom attribute, and specifies the value of the field or property.</para></summary><param name="memberInfo"><attribution license="cc4" from="Microsoft" modified="false" />A field or property of the custom attribute. The new <see cref="T:System.Reflection.CustomAttributeNamedArgument" /> object represents this member and its value.</param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The value of the field or property of the custom attribute.</param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public CustomAttributeNamedArgument (System.Reflection.MemberInfo memberInfo, System.Reflection.CustomAttributeTypedArgument typedArgument);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Reflection.MemberInfo memberInfo, valuetype System.Reflection.CustomAttributeTypedArgument typedArgument) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="memberInfo" Type="System.Reflection.MemberInfo" /><Parameter Name="typedArgument" Type="System.Reflection.CustomAttributeTypedArgument" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This constructor is for use by inheritors of the <see cref="T:System.Reflection.CustomAttributeNamedArgument" /> class. It is not intended for use in application code.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Reflection.CustomAttributeNamedArgument" /> class, which represents the specified field or property of the custom attribute, and specifies a <see cref="T:System.Reflection.CustomAttributeTypedArgument" /> object that describes the type and value of the field or property.</para></summary><param name="memberInfo"><attribution license="cc4" from="Microsoft" modified="false" />A field or property of the custom attribute. The new <see cref="T:System.Reflection.CustomAttributeNamedArgument" /> object represents this member and its value.</param><param name="typedArgument"><attribution license="cc4" from="Microsoft" modified="false" />An object that describes the type and value of the field or property.</param></Docs></Member><Member MemberName="Equals"><MemberSignature Language="C#" Value="public override bool Equals (object obj);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="obj" Type="System.Object" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a value that indicates whether this instance is equal to a specified object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if <paramref name="obj" /> equals the type and value of this instance; otherwise, false.</para></returns><param name="obj"><attribution license="cc4" from="Microsoft" modified="false" />An object to compare with this instance, or null.</param></Docs></Member><Member MemberName="GetHashCode"><MemberSignature Language="C#" Value="public override int GetHashCode ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the hash code for this instance.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A 32-bit signed integer hash code.</para></returns></Docs></Member><Member MemberName="IsField"><MemberSignature Language="C#" Value="public bool IsField { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool IsField" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value that indicates whether the named argument is a field.</para></summary></Docs></Member><Member MemberName="MemberInfo"><MemberSignature Language="C#" Value="public System.Reflection.MemberInfo MemberInfo { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Reflection.MemberInfo MemberInfo" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Reflection.MemberInfo</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>In most cases, the member is a property.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the attribute member that would be used to set the named argument.</para></summary></Docs></Member><Member MemberName="MemberName"><MemberSignature Language="C#" Value="public string MemberName { get; }" /><MemberSignature Language="ILAsm" Value=".property instance string MemberName" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the name of the attribute member that would be used to set the named argument.</para></summary></Docs></Member><Member MemberName="op_Equality"><MemberSignature Language="C#" Value="public static bool op_Equality (System.Reflection.CustomAttributeNamedArgument left, System.Reflection.CustomAttributeNamedArgument right);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Equality(valuetype System.Reflection.CustomAttributeNamedArgument left, valuetype System.Reflection.CustomAttributeNamedArgument right) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="left" Type="System.Reflection.CustomAttributeNamedArgument" /><Parameter Name="right" Type="System.Reflection.CustomAttributeNamedArgument" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Tests whether two <see cref="T:System.Reflection.CustomAttributeNamedArgument" /> structures are equivalent.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the two <see cref="T:System.Reflection.CustomAttributeNamedArgument" /> structures are equal; otherwise, false.</para></returns><param name="left"><attribution license="cc4" from="Microsoft" modified="false" />The structure to the left of the equality operator.</param><param name="right"><attribution license="cc4" from="Microsoft" modified="false" />The structure to the right of the equality operator.</param></Docs></Member><Member MemberName="op_Inequality"><MemberSignature Language="C#" Value="public static bool op_Inequality (System.Reflection.CustomAttributeNamedArgument left, System.Reflection.CustomAttributeNamedArgument right);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Inequality(valuetype System.Reflection.CustomAttributeNamedArgument left, valuetype System.Reflection.CustomAttributeNamedArgument right) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="left" Type="System.Reflection.CustomAttributeNamedArgument" /><Parameter Name="right" Type="System.Reflection.CustomAttributeNamedArgument" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Tests whether two <see cref="T:System.Reflection.CustomAttributeNamedArgument" /> structures are different.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the two <see cref="T:System.Reflection.CustomAttributeNamedArgument" /> structures are different; otherwise, false.</para></returns><param name="left"><attribution license="cc4" from="Microsoft" modified="false" />The structure to the left of the inequality operator.</param><param name="right"><attribution license="cc4" from="Microsoft" modified="false" />The structure to the right of the inequality operator.</param></Docs></Member><Member MemberName="ToString"><MemberSignature Language="C#" Value="public override string ToString ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a string that consists of the argument name, the equal sign, and a string representation of the argument value.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A string that consists of the argument name, the equal sign, and a string representation of the argument value.</para></returns></Docs></Member><Member MemberName="TypedValue"><MemberSignature Language="C#" Value="public System.Reflection.CustomAttributeTypedArgument TypedValue { get; }" /><MemberSignature Language="ILAsm" Value=".property instance valuetype System.Reflection.CustomAttributeTypedArgument TypedValue" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Reflection.CustomAttributeTypedArgument</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Reflection.CustomAttributeNamedArgument" /> structure only contains information about how the argument value was set. Use this property to obtain a <see cref="T:System.Reflection.CustomAttributeTypedArgument" /> structure that contains the type and value.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a <see cref="T:System.Reflection.CustomAttributeTypedArgument" /> structure that can be used to obtain the type and value of the current named argument.</para></summary></Docs></Member></Members></Type>