Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
Since 'class' has the ComImport attribute, 'method' must be extern or abstract
Specifying the ComImport attribute implies that the implementation for the class is to be imported from a COM module. Additional methods may not be defined.
The following sample generates CS0423:
// CS0423.cs
using System.Runtime.InteropServices;
[
ComImport,
Guid("7ab770c7-0e23-4d7a-8aa2-19bfad479829")
]
class ImageProperties
{
public static void Main() // CS0423
{
ImageProperties i = new ImageProperties();
}
}
Feedback zu .NET
.NET ass en Open-Source-Projet. Wielt e Link, fir Feedback ze ginn: