Skip to content

Commit aebd863

Browse files
author
Colin Robertson
committed
Fix additional whitespace issues.
1 parent 05d53d5 commit aebd863

678 files changed

Lines changed: 7694 additions & 7694 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/windows/abstract-cpp-component-extensions.md‎

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ The **abstract** keyword declares either:
2424

2525
### Syntax
2626

27-
```cpp
28-
class-declaration
29-
class-identifier
30-
abstract {}
31-
virtualreturn-typemember-function-identifier() abstract ;
27+
```cpp
28+
class-declaration
29+
class-identifier
30+
abstract {}
31+
virtualreturn-typemember-function-identifier() abstract ;
3232
```
3333
3434
### Remarks
@@ -61,43 +61,43 @@ Compiler option: `/clr`
6161
6262
The following code example generates an error because class `X` is marked **abstract**.
6363
64-
```cpp
65-
// abstract_keyword.cpp
66-
// compile with: /clr
67-
ref class X abstract {
68-
public:
69-
virtual void f() {}
64+
```cpp
65+
// abstract_keyword.cpp
66+
// compile with: /clr
67+
ref class X abstract {
68+
public:
69+
virtual void f() {}
7070
};
7171
72-
int main() {
73-
X ^ MyX = gcnew X; // C3622
74-
}
72+
int main() {
73+
X ^ MyX = gcnew X; // C3622
74+
}
7575
```
7676

7777
The following code example generates an error because it instantiates a native class that is marked **abstract**. This error will occur with or without the `/clr` compiler option.
7878

79-
```cpp
80-
// abstract_keyword_2.cpp
81-
class X abstract {
82-
public:
83-
virtual void f() {}
79+
```cpp
80+
// abstract_keyword_2.cpp
81+
class X abstract {
82+
public:
83+
virtual void f() {}
8484
};
8585

86-
int main() {
87-
X * MyX = new X; // C3622: 'X': a class declared as 'abstract'
88-
// cannot be instantiated. See declaration of 'X'}
86+
int main() {
87+
X * MyX = new X; // C3622: 'X': a class declared as 'abstract'
88+
// cannot be instantiated. See declaration of 'X'}
8989
```
9090
9191
The following code example generates an error because function `f` includes a definition but is marked **abstract**. The final statement in the example shows that declaring an abstract virtual function is equivalent to declaring a pure virtual function.
9292
93-
```cpp
94-
// abstract_keyword_3.cpp
95-
// compile with: /clr
96-
ref class X {
97-
public:
98-
virtual void f() abstract {} // C3634
99-
virtual void g() = 0 {} // C3634
100-
};
93+
```cpp
94+
// abstract_keyword_3.cpp
95+
// compile with: /clr
96+
ref class X {
97+
public:
98+
virtual void f() abstract {} // C3634
99+
virtual void g() = 0 {} // C3634
100+
};
101101
```
102102

103103
## See Also

‎docs/windows/accelerator-keys-for-the-dialog-editor.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Below are the default accelerator keys for the Dialog editor commands. To change
3939
|Format.TestDialog|**Ctrl** + **T**|Runs the dialog box to test appearance and behavior|
4040
|Format.ToggleGuides|**Ctrl** + **G**|Cycles between no grid, guidelines, and grid for dialog editing|
4141

42-
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
42+
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
4343

4444
## Requirements
4545

‎docs/windows/accelerator-keys-image-editor-for-icons.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Below are the accelerator keys for the Image editor commands that are bound to k
5959
|Image.ZoomIn|**Ctrl** + **Shift** + **.** (period)<br /><br /> - or -<br /><br /> **Ctrl** + **Up Arrow**|Increases the magnification for the current view.|
6060
|Image.ZoomOut|**Ctrl** + **,** (comma)<br /><br /> - or -<br /><br /> **Ctrl** + **Down Arrow**|Reduces the magnification of the current view.|
6161

62-
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
62+
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
6363

6464
## Requirements
6565

‎docs/windows/activatableclass-macros.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ActivatableClassWithFactoryEx(
3838
### Parameters
3939

4040
*className*
41-
Name of the class to create.
41+
Name of the class to create.
4242

4343
*factory*
4444
Factory that will create an instance of the specified class.

‎docs/windows/activateinstance-function.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ Registers and retrieves an instance of a specified type defined in a specified c
1818

1919
## Syntax
2020

21-
```cpp
22-
template<typename T>
23-
inline HRESULT ActivateInstance(
24-
_In_ HSTRING activatableClassId,
25-
_Out_ Microsoft::WRL::Details::ComPtrRef<T> instance
26-
);
21+
```cpp
22+
template<typename T>
23+
inline HRESULT ActivateInstance(
24+
_In_ HSTRING activatableClassId,
25+
_Out_ Microsoft::WRL::Details::ComPtrRef<T> instance
26+
);
2727
```
2828

2929
### Parameters

‎docs/windows/activationfactory-activationfactory-constructor.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Initializes the **ActivationFactory** class.
1818

1919
## Syntax
2020

21-
```cpp
22-
ActivationFactory();
21+
```cpp
22+
ActivationFactory();
2323
```
2424

2525
## Requirements

‎docs/windows/activationfactory-addref-method.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Increments the reference count of the current **ActivationFactory** object.
1818

1919
## Syntax
2020

21-
```cpp
22-
STDMETHOD_(
23-
ULONG,
24-
AddRef
25-
)();
21+
```cpp
22+
STDMETHOD_(
23+
ULONG,
24+
AddRef
25+
)();
2626
```
2727

2828
## Return Value

‎docs/windows/activationfactory-class.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ Enables one or more classes to be activated by the Windows Runtime.
1818

1919
## Syntax
2020

21-
```cpp
22-
template <
23-
typename I0 = Details::Nil,
24-
typename I1 = Details::Nil,
25-
typename I2 = Details::Nil
26-
>
27-
class ActivationFactory : public Details::RuntimeClass<typename Details::InterfaceListHelper<IActivationFactory, I0, I1, I2, Details::Nil>::TypeT, RuntimeClassFlags<WinRt | InhibitWeakReference>, false>;
21+
```cpp
22+
template <
23+
typename I0 = Details::Nil,
24+
typename I1 = Details::Nil,
25+
typename I2 = Details::Nil
26+
>
27+
class ActivationFactory : public Details::RuntimeClass<typename Details::InterfaceListHelper<IActivationFactory, I0, I1, I2, Details::Nil>::TypeT, RuntimeClassFlags<WinRt | InhibitWeakReference>, false>;
2828
```
2929
3030
### Parameters

‎docs/windows/activationfactory-getiids-method.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Retrieves an array of implemented interface IDs.
1818

1919
## Syntax
2020

21-
```cpp
22-
STDMETHOD(
23-
GetIids
24-
)(_Out_ ULONG *iidCount, _Deref_out_ _Deref_post_cap_(*iidCount) IID **iids);
21+
```cpp
22+
STDMETHOD(
23+
GetIids
24+
)(_Out_ ULONG *iidCount, _Deref_out_ _Deref_post_cap_(*iidCount) IID **iids);
2525
```
2626
2727
### Parameters

‎docs/windows/activationfactory-getruntimeclassname-method.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Gets the runtime class name of the object that the current **ActivationFactory**
1818

1919
## Syntax
2020

21-
```cpp
22-
STDMETHOD(
23-
GetRuntimeClassName
24-
)(_Out_ HSTRING* runtimeName);
21+
```cpp
22+
STDMETHOD(
23+
GetRuntimeClassName
24+
)(_Out_ HSTRING* runtimeName);
2525
```
2626

2727
### Parameters

0 commit comments

Comments
 (0)