# AliasAttribute

Package: [Microsoft.Orleans.Serialization.Abstractions](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Serialization.Abstractions) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization.Abstractions/Annotations.cs#L317)

```csharp
public sealed class AliasAttribute : Attribute
```

When applied to a type or method, specifies a well-known name which can be used to identify that type or method.

## Remarks

In the case of a type, the alias must be globally unique. In the case of a method, the alias must be unique to the declaring type.

## See also

- `System.Attribute`

## Constructors

- [AliasAttribute(string)](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.aliasattribute/constructors/constructor-string-d09f474e/)

## Properties

- [Alias](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.aliasattribute/properties/alias-a79344fd/)
