# Sandbox.MemberDescription

Wraps `MemberInfo` but with caching and sandboxing.
            
Returned by [Sandbox.Internal.TypeLibrary](/api/Sandbox.Internal.TypeLibrary) and [Sandbox.TypeDescription](/api/Sandbox.TypeDescription).

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Reflection`

## Properties

- [`Aliases`](/api/Sandbox.MemberDescription/Aliases): Aliases allow this to be found by alternative names.
- [`Attributes`](/api/Sandbox.MemberDescription/Attributes): Attributes on this member
- [`DeclaringType`](/api/Sandbox.MemberDescription/DeclaringType): The type that actually defined this member. This may be different from [Sandbox.MemberDescription.TypeDescription](/api/Sandbox.MemberDescription/TypeDescription) if this member is inherited from a base class.
- [`Description`](/api/Sandbox.MemberDescription/Description): Description of this type member. This usually provided from the summary XML comment above the definition.
- [`Group`](/api/Sandbox.MemberDescription/Group): The group - usually provided via the [Group] attribute
- [`Icon`](/api/Sandbox.MemberDescription/Icon): The icon for this, if provided via the [Icon] attribute
- [`Identity`](/api/Sandbox.MemberDescription/Identity): An integer that represents this member. Based off its type and name.
- [`IsFamily`](/api/Sandbox.MemberDescription/IsFamily)
- [`IsField`](/api/Sandbox.MemberDescription/IsField): True if we're a field
- [`IsMethod`](/api/Sandbox.MemberDescription/IsMethod): True if we're a method
- [`IsProperty`](/api/Sandbox.MemberDescription/IsProperty): True if we're a property
- [`IsPublic`](/api/Sandbox.MemberDescription/IsPublic): True if publicly accessible
- [`IsStatic`](/api/Sandbox.MemberDescription/IsStatic): True if static
- [`Name`](/api/Sandbox.MemberDescription/Name): Name of this type member.
- [`Order`](/api/Sandbox.MemberDescription/Order): The display order - usually provided via the [Order] attribute
- [`ReadOnly`](/api/Sandbox.MemberDescription/ReadOnly): If this is marked as [ReadOnly]
- [`SourceFile`](/api/Sandbox.MemberDescription/SourceFile): The file containing this member
- [`SourceLine`](/api/Sandbox.MemberDescription/SourceLine): The line number of this member
- [`Tags`](/api/Sandbox.MemberDescription/Tags): Tags are usually provided via the [Tags] attribute
- [`Title`](/api/Sandbox.MemberDescription/Title): Display name or title of this type member.
- [`TypeDescription`](/api/Sandbox.MemberDescription/TypeDescription): The type that we're a member of

## Methods

- [`GetCustomAttribute`](/api/Sandbox.MemberDescription/GetCustomAttribute): Returns the first of Attributes of the passed in type. Or null.
- [`GetDisplayInfo`](/api/Sandbox.MemberDescription/GetDisplayInfo): Access the full DisplayInfo for this type. This is faster than creating the DisplayInfo every time we need it.
- [`HasAttribute`](/api/Sandbox.MemberDescription/HasAttribute): Whether or not this has at least one of the specified attribute.
- [`HasTag`](/api/Sandbox.MemberDescription/HasTag): Returns true if Tags contains this tag
- [`IsNamed`](/api/Sandbox.MemberDescription/IsNamed): Utility function to check whether this string matches this type. Will search name and classname.
