Skip to content

Commit 01c8475

Browse files
Fix syntax formats
1 parent 439c313 commit 01c8475

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

docs/extensions/classes-and-structs-cpp-component-extensions.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,10 @@ The **ref class** or **ref struct** extensions declare a class or struct whose *
1515
### Syntax
1616

1717
```cpp
18-
class_access
19-
ref class
20-
name
21-
modifier : inherit_accessbase_type {};
22-
class_accessref structnamemodifier : inherit_accessbase_type {};
23-
class_accessvalue classnamemodifier : inherit_accessbase_type {};
24-
class_accessvalue structnamemodifier : inherit_accessbase_type {};
18+
class_access ref class name modifier : inherit_accessbase_type {};
19+
class_access ref struct name modifier : inherit_access base_type {};
20+
class_access value class name modifier : inherit_access base_type {};
21+
class_access value struct name modifier : inherit_access base_type {};
2522
```
2623
2724
### Parameters

0 commit comments

Comments
 (0)