Skip to content

Commit 6fce05f

Browse files
committed
Added nullable parameter example.
Added not supported functionality section.
1 parent 823873c commit 6fce05f

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

docs/guides-basic/dotnet-native-aot-support.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Publishing the following **MyAddin.csproj** C# project produces native 64-bit **
2727
</Project>
2828
```
2929

30-
Currently supported functionality in native add-ins:
30+
# Supported functionality in native add-ins
3131

3232
## Function
3333

@@ -263,4 +263,27 @@ public static object NativeRangeConcat2(object[,] values)
263263
| A2 | 1 |
264264
| B1 | TRUE |
265265
| B2 | 3.5 |
266-
| C1 | =NativeRangeConcat2(A1:B2) | strTrue13.5
266+
| C1 | =NativeRangeConcat2(A1:B2) | strTrue13.5
267+
268+
## Extended Registration
269+
270+
### Nullable parameter
271+
272+
```csharp
273+
[ExcelFunction]
274+
public static string NativeNullableDouble(double? d)
275+
{
276+
return "Native Nullable VAL: " + (d.HasValue ? d : "NULL");
277+
}
278+
```
279+
280+
| Cell | Formula | Result
281+
| ----- | -------------------------- | ------
282+
| A1 | =NativeNullableDouble(1.2) | Native Nullable VAL: 1.2
283+
| A2 | =NativeNullableDouble() | Native Nullable VAL: NULL
284+
285+
# Not supported functionality in native add-ins
286+
287+
Loading images for ribbon controls.
288+
289+
Copy to clipboard in Diagnostic Display.

0 commit comments

Comments
 (0)