﻿<?xml version="1.0" encoding="utf-8"?><Type Name="DebuggerBrowsableAttribute" FullName="System.Diagnostics.DebuggerBrowsableAttribute"><TypeSignature Language="C#" Value="public sealed class DebuggerBrowsableAttribute : Attribute" /><TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit DebuggerBrowsableAttribute extends System.Attribute" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Attribute</BaseTypeName></Base><Interfaces /><Attributes><Attribute><AttributeName>System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field | System.AttributeTargets.All)</AttributeName></Attribute><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><block subset="none" type="note"><para>In .NET Framework version 2.0, the <see cref="T:System.Diagnostics.DebuggerBrowsableAttribute" /> class is not supported by Visual Basic. Using C#, you can add expansions for custom data using the <see cref="T:System.Diagnostics.DebuggerTypeProxyAttribute" />, <see cref="T:System.Diagnostics.DebuggerDisplayAttribute" />, and <see cref="T:System.Diagnostics.DebuggerBrowsableAttribute" />. Visual Basic supports the <see cref="T:System.Diagnostics.DebuggerDisplayAttribute" /> attribute but not the <see cref="T:System.Diagnostics.DebuggerBrowsableAttribute" /> attribute.</para></block><para>This attribute can be applied only as a single instance to properties and fields. It cannot be applied to assemblies.</para><para>The constructor for this attribute takes one of the <see cref="T:System.Diagnostics.DebuggerBrowsableState" /> enumeration values, which specifies one of the following states:</para><list type="bullet"><item><para><see cref="F:System.Diagnostics.DebuggerBrowsableState.Never" /> indicates that the member is not displayed in the data window.  For example, using this value for the <see cref="T:System.Diagnostics.DebuggerBrowsableAttribute" /> on a field removes the field from the hierarchy; the field is not displayed when you expand the enclosing type by clicking the plus sign (+) for the type instance.</para></item><item><para><see cref="F:System.Diagnostics.DebuggerBrowsableState.Collapsed" /> indicates that the member is displayed but not expanded by default.  This is the default behavior.</para></item><item><para><see cref="F:System.Diagnostics.DebuggerBrowsableState.RootHidden" /> indicates that the member itself is not shown, but its constituent objects are displayed if it is an array or collection.</para></item></list><para>For an example of the use of this attribute and the <see cref="T:System.Diagnostics.DebuggerDisplayAttribute" /> and <see cref="T:System.Diagnostics.DebuggerTypeProxyAttribute" /> attributes, see the example provided for the <see cref="T:System.Diagnostics.DebuggerDisplayAttribute" /> class.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines if and how a member is displayed in the debugger variable windows. This class cannot be inherited.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public DebuggerBrowsableAttribute (System.Diagnostics.DebuggerBrowsableState state);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.Diagnostics.DebuggerBrowsableState state) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="state" Type="System.Diagnostics.DebuggerBrowsableState" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This attribute can be applied only to properties and fields.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Diagnostics.DebuggerBrowsableAttribute" /> class. </para></summary><param name="state"><attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Diagnostics.DebuggerBrowsableState" /> values that specifies how to display the member.</param></Docs></Member><Member MemberName="State"><MemberSignature Language="C#" Value="public System.Diagnostics.DebuggerBrowsableState State { get; }" /><MemberSignature Language="ILAsm" Value=".property instance valuetype System.Diagnostics.DebuggerBrowsableState State" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Diagnostics.DebuggerBrowsableState</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="M:System.Diagnostics.DebuggerBrowsableAttribute.#ctor(System.Diagnostics.DebuggerBrowsableState)" /> constructor uses the value of the <paramref name="state" /> parameter to set this value.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the display state for the attribute.</para></summary></Docs></Member></Members></Type>