Skip to content

Commit 7e41243

Browse files
Merge pull request #2366 from colejohnson66/patch-1
Update ireference_1.md
2 parents b35a643 + 8c06fd0 commit 7e41243

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

windows.foundation/ireference_1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Enables arbitrary enumerations, structures, and delegate types to be used as pro
1919
> This interface appears as [Platform::IBox<T>](/cpp/cppcx/platform-ibox-interface)
2020
2121
## -remarks
22-
When programming with .NET, this interface is hidden, and you should use the [Nullable<T>](/dotnet/api/system.nullable-1?view=dotnet-uwp-10.0&preserve-view=true) class. All Windows Runtime members where the basic IDL signature shows IReference (with a constraint) are instead exposed using the nullable syntax of the nullable value type (for example, **?bool**).
22+
When programming with .NET, this interface is hidden, and you should use the [Nullable<T>](/dotnet/api/system.nullable-1?view=dotnet-uwp-10.0&preserve-view=true) class. All Windows Runtime members where the basic IDL signature shows IReference (with a constraint) are, instead, exposed using the syntax of the nullable value type (for example, **bool?** in C#).
2323

2424
When programming with C++/CX, this interface is hidden, and you should use the [Platform::IBox<T>](/cpp/cppcx/platform-ibox-interface) interface. All Windows Runtime members where the basic IDL signature shows IReference (with a constraint) are instead exposed using [Platform::IBox<T>](/cpp/cppcx/platform-ibox-interface) with the template as a particular value type. This is how C++/CX implements nullable value types. For more info, see [Value classes and structs (C++/CX)](/cpp/cppcx/value-classes-and-structs-c-cx).
2525

@@ -32,7 +32,7 @@ IReference<T> inherits [IPropertyValue](ipropertyvalue.md). Types that imp
3232
## -examples
3333

3434
```csharp
35-
bool flag = myScrollViewer.ChangeView(2, null, null);
35+
bool flag = myScrollViewer.ChangeView(2d, null, null);
3636
```
3737

3838
```cppwinrt

0 commit comments

Comments
 (0)