You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System/Object.xml
+10-14Lines changed: 10 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1128,20 +1128,16 @@ and the <xref:System.IDisposable> interface. The <xref:System.IDisposable.Dispos
1128
1128
1129
1129
If you do choose to implement [IStringable](https://msdn.microsoft.com/library/windows/apps/windows.foundation.istringable.aspx) in a public managed type that is exported in a [!INCLUDE[wrt](~/includes/wrt-md.md)] component, the following restrictions apply:
1130
1130
1131
-
- You can define the [IStringable](https://msdn.microsoft.com/library/windows/apps/windows.foundation.istringable.aspx) interface only in a "class implements" relationship, such as
1132
-
1133
-
```csharp
1134
-
public class NewClass : IStringable
1135
-
```
1136
-
1137
-
in C#, or
1138
-
1139
-
```vb
1140
-
Public Class NewClass : Implements IStringable
1141
-
```
1142
-
1143
-
in Visual Basic.
1144
-
1131
+
- You can define the [IStringable](https://msdn.microsoft.com/library/windows/apps/windows.foundation.istringable.aspx) interface only in a "class implements" relationship, as follows:
1132
+
1133
+
```csharp
1134
+
public class NewClass : IStringable
1135
+
```
1136
+
1137
+
```vb
1138
+
Public Class NewClass : Implements IStringable
1139
+
```
1140
+
1145
1141
- You cannot implement [IStringable](https://msdn.microsoft.com/library/windows/apps/windows.foundation.istringable.aspx) on an interface.
1146
1142
1147
1143
- You cannot declare a parameter to be of type [IStringable](https://msdn.microsoft.com/library/windows/apps/windows.foundation.istringable.aspx).
0 commit comments