Share via


AssemblyDefaultAliasAttribute Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines a friendly default alias for an assembly manifest.

Inheritance Hierarchy

System. . :: . .Object
  System. . :: . .Attribute
    System.Reflection..::..AssemblyDefaultAliasAttribute

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple := False)> _
Public NotInheritable Class AssemblyDefaultAliasAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple = false)]
public sealed class AssemblyDefaultAliasAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Assembly, AllowMultiple = false)]
public ref class AssemblyDefaultAliasAttribute sealed : public Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple = false)>]
type AssemblyDefaultAliasAttribute =  
    class
        inherit Attribute
    end
public final class AssemblyDefaultAliasAttribute extends Attribute

The AssemblyDefaultAliasAttribute type exposes the following members.

Constructors

  Name Description
Public method AssemblyDefaultAliasAttribute Initializes a new instance of the AssemblyDefaultAliasAttribute class.

Top

Properties

  Name Description
Public property DefaultAlias Gets default alias information.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

This is a friendly default alias in cases where the assembly name is not friendly or is a GUID.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Reflection Namespace