`__declspec( dllimport )` and `__declspec( dllexport )` are [C and C++ compiler directives to deal with DLL files](https://msdn.microsoft.com/en-us/library/3y1sfaz2.aspx). They are complementary to each other.

Currently, question about `__declspec( dllexport )` are tagged with [dllexport](https://stackoverflow.com/questions/tagged/dllexport "show questions tagged 'dllexport'") tag. Its excerpt states.

> 
> [\_\_declspec(dllexport) is a C and C++ compiler directive, which
>  automates exporting of functions or variables when creating a DLL
>  (Dynamic-link library).](https://stackoverflow.com/tags/dllexport/info)
> 
> 
> 

But then we have [dllimport](https://stackoverflow.com/questions/tagged/dllimport "show questions tagged 'dllimport'") tag. Unfortunately it is about completely different thing. Here's an excerpt.

> 
> [The System.Runtime.InteropServices.DllImportAttribute class allows
>  managed .NET code to reference a Windows DLL through the magic of
>  Platform Invocation (P/Invoke for short). The
>  System.Runtime.InteropServices namespace contains a wealth of tools to
>  allow .NET to efficiently and effectively use legacy DLLs.](https://stackoverflow.com/tags/dllimport/info)
> 
> 
> 

It is about some .NET class and it does not mention `__declspec(dllimport)`. Because both `declspec` directives are closely related, the result is that many questions on `__declspec(dllimport)` are tagged with ".NET version" of [dllimport](https://stackoverflow.com/questions/tagged/dllimport "show questions tagged 'dllimport'") tag ([here's an example](https://stackoverflow.com/questions/1267811/declspecdllimport-dllexport-and-inheritance)).

I think it would be nice to make things clean and consistent. Options that come to my mind. 

1. Add second meaning (that of `declspec(dllimport)`) to [dllimport](https://stackoverflow.com/questions/tagged/dllimport "show questions tagged 'dllimport'") tag excerpt, like it is in case of [functor](https://stackoverflow.com/questions/tagged/functor "show questions tagged 'functor'") tag and C++ function-objects.
2. Use [declspec](https://stackoverflow.com/questions/tagged/declspec "show questions tagged 'declspec'") tag for questions about `__declspec(dllimport)` and `__declspec(dllexport)`. But will people follow such guidance?
3. Create [declspec-dllexport](https://stackoverflow.com/questions/tagged/declspec-dllexport "show questions tagged 'declspec-dllexport'") and [declspec-dllimport](https://stackoverflow.com/questions/tagged/declspec-dllimport "show questions tagged 'declspec-dllimport'") tags.

Any suggestions are welcome.