LibraryImportAttribute.SetLastError Property

Definition

Gets or sets a value that specifies whether the callee sets an error (SetLastError on Windows or errno on other platforms) before returning from the attributed method.

C#
public bool SetLastError { get; set; }

Property Value

Applies to

Tuote Versiot
.NET 7, 8, 9, 10