Skip to content

Commit 8a3e69b

Browse files
authoredFeb 8, 2022
Merge pull request #1510 from MicrosoftDocs/main
[admin] merge to live
2 parents 5291efc + a1c67c2 commit 8a3e69b

File tree

3 files changed

+20
-22
lines changed

3 files changed

+20
-22
lines changed
 

‎api/Project.chart.getchartelement.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ _expression_ A variable that represents a **[Chart](Project.Chart.md)** object.
2626
|:-----|:-----|:-----|:-----|
2727
| _x_|Required|**Long**|The X coordinate of the chart element.|
2828
| _y_|Required|**Long**|The Y coordinate of the chart element.|
29-
| _ElementID_|Required|**Long**|When the **GetChartElement** method returns, _ElementID_ contains the **Office.XLChartItem** value of the chart element at the specified coordinates. For more information, see [Remarks](#Remarks).|
30-
| _Arg1_|Required|**Long**|When the method returns, _Arg1_ contains information related to the chart element. For more information, see [Remarks](#Remarks).|
31-
| _Arg2_|Required|**Long**|When the method returns, _Arg2_ contains information related to the chart element. For more information, see [Remarks](#Remarks).|
29+
| _ElementID_|Required|**Long**|When the **GetChartElement** method returns, _ElementID_ contains the **Office.XLChartItem** value of the chart element at the specified coordinates. For more information, see [Remarks](#remarks).|
30+
| _Arg1_|Required|**Long**|When the method returns, _Arg1_ contains information related to the chart element. For more information, see [Remarks](#remarks).|
31+
| _Arg2_|Required|**Long**|When the method returns, _Arg2_ contains information related to the chart element. For more information, see [Remarks](#remarks).|
3232

3333
## Return value
3434

‎outlook/How-to/Items-Folders-and-Stores/import-appointment-xml-data-into-outlook-appointment-objects-outlook.md

+11-14
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ This topic shows how to read appointment data formatted in XML, save the data to
1616

1717
|Helmut Obertanner provided the following code samples. Helmut is a [Microsoft Most Valuable Professional](https://mvp.microsoft.com/) with expertise in Microsoft Office development tools in Microsoft Visual Studio and Microsoft Office Outlook.|
1818

19-
The following managed code samples are written in C# and Visual Basic. To run a .NET Framework managed code sample that needs to call into a Component Object Model (COM), you must use an interop assembly that defines and maps managed interfaces to the COM objects in the object model type library. For Outlook, you can use Visual Studio and the Outlook Primary Interop Assembly (PIA). Before you run managed code samples for Outlook 2013, ensure that you have installed the Outlook 2013 PIA and have added a reference to the Microsoft Outlook 15.0 Object Library component in Visual Studio. You should use the following code samples in the `ThisAddIn` class of an Outlook add-in (using Office Developer Tools for Visual Studio). The **Application** object in the code must be a trusted Outlook **Application** object provided by `ThisAddIn.Globals`. For more information about using the Outlook PIA to develop managed Outlook solutions, see the **Welcome to the Outlook Primary Interop Assembly Reference** on MSDN.
19+
The following managed code samples are written in C# and Visual Basic. To run a .NET Framework managed code sample that needs to call into a Component Object Model (COM), you must use an interop assembly that defines and maps managed interfaces to the COM objects in the object model type library. For Outlook, use Visual Studio and the Outlook Primary Interop Assembly (PIA). Before you run managed code samples for Outlook 2013, ensure that you've installed the Outlook 2013 PIA and have added a reference to the Microsoft Outlook 15.0 Object Library component in Visual Studio. Use the following code samples in the `ThisAddIn` class of an Outlook add-in (using Office Developer Tools for Visual Studio). The **Application** object in the code must be a trusted Outlook **Application** object provided by `ThisAddIn.Globals`.
20+
For more information about using the Outlook PIA to develop managed Outlook solutions, see the [Welcome to the Outlook Primary Interop Assembly Reference](/office/client-developer/outlook/pia/welcome-to-the-outlook-primary-interop-assembly-reference.md).
2021
The following code samples contain the `CreateAppointmentsFromXml` method of the `Sample` class, implemented as part of an Outlook add-in project. Each project adds a reference to the Outlook PIA, which is based on the **Microsoft.Office.Interop.Outlook** namespace.
2122
The `CreateAppointmentsFromXml` method accepts two input parameters, _application_ and _xml_:
2223

@@ -26,13 +27,13 @@ The `CreateAppointmentsFromXml` method accepts two input parameters, _applicatio
2627

2728
|**Appointment data**|**Delimiting XML tag**|
2829
|:-----|:-----|
29-
|Entire set of appointment data|_appointments_|
30-
|Each appointment in the set|_appointment_|
31-
|Start time of an appointment|_starttime_|
32-
|End time of an appointment|_endtime_|
33-
|Title of an appointment|_subject_|
34-
|Location of an appointment|_location_|
35-
|Details of an appointment|_body_|
30+
|Entire set of appointment data|<appointments>|
31+
|Each appointment in the set|<appointment>|
32+
|Start time of an appointment|<starttime>|
33+
|End time of an appointment|<endtime>|
34+
|Title of an appointment|<subject>|
35+
|Location of an appointment|<location>|
36+
|Details of an appointment|<body>|
3637

3738
The following example shows input data for the _xml_ parameter.
3839

@@ -64,13 +65,11 @@ The following example shows input data for the _xml_ parameter.
6465

6566
```
6667

67-
The `CreateAppointmentsFromXml` method uses the Microsoft COM implementation of the XML Document Object Model (DOM) to load and process the XML data that _xml_ provides. `CreateAppointmentsFromXml` first checks whether _xml_ specifies a valid source of XML data. If so, it loads the data into an XML document, **DOMDocument**. Otherwise, `CreateAppointmentsFromXml` throws an exception. For more information about the XML DOM, see [DOM](../../../api/overview/Outlook.md).
68-
For each appointment child node delimited by the <appointment> tag in the XML data, `CreateAppointmentsFromXml` looks for specific tags, uses the DOM to extract the data, and assigns the data to corresponding properties of an **AppointmentItem** object: **[Start](../../../api/Outlook.AppointmentItem.Start.md)**, **[End](../../../api/Outlook.AppointmentItem.End.md)**, **[Subject](../../../api/Outlook.AppointmentItem.Subject.md)**, **[Location](../../../api/Outlook.AppointmentItem.Location.md)**, and **[Body](../../../api/Outlook.AppointmentItem.Body.md)**. `CreateAppointmentsFromXml` then saves the appointment to the default calendar.
68+
The `CreateAppointmentsFromXml` method uses the Microsoft COM implementation of the XML Document Object Model (DOM) to load and process the XML data that _xml_ provides. `CreateAppointmentsFromXml` first checks whether _xml_ specifies a valid source of XML data. If so, it loads the data into an XML document, **DOMDocument**. Otherwise, `CreateAppointmentsFromXml` throws an exception. For more information about the XML DOM, see [DOM](../../../api/overview/Outlook.md).
69+
For each appointment child node delimited by the _appointment_ tag in the XML data, `CreateAppointmentsFromXml` looks for specific tags, uses the DOM to extract the data, and assigns the data to corresponding properties of an **AppointmentItem** object: **[Start](../../../api/Outlook.AppointmentItem.Start.md)**, **[End](../../../api/Outlook.AppointmentItem.End.md)**, **[Subject](../../../api/Outlook.AppointmentItem.Subject.md)**, **[Location](../../../api/Outlook.AppointmentItem.Location.md)**, and **[Body](../../../api/Outlook.AppointmentItem.Body.md)**. `CreateAppointmentsFromXml` then saves the appointment to the default calendar.
6970
`CreateAppointmentsFromXml` uses the **[Add](../../../api/overview/Outlook.md)** method of the **List( _type_)** class in the **System.Collections.Generic** namespace to aggregate these **AppointmentItem** objects. When the method has processed all the appointments in the XML data, it returns the **AppointmentItem** objects in an array.
7071
The following is the C# code sample.
7172

72-
73-
7473
```cs
7574
using System;
7675
using System.Collections.Generic;
@@ -160,8 +159,6 @@ namespace OutlookAddIn1
160159

161160
The following is the Visual Basic code sample.
162161

163-
164-
165162
```vb
166163
Imports System.IO
167164
Imports System.Xml

‎word/Concepts/Customizing-Word/creating-frames-pages.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ f1_keywords:
55
- vbawd10.chm5285976
66
ms.prod: word
77
ms.assetid: 0245564e-b2df-83cd-1e32-e63079970dc1
8-
ms.date: 06/08/2019
8+
ms.date: 02/06/2020
99
ms.localizationpriority: medium
1010
---
1111

@@ -18,7 +18,7 @@ Frames and frames pages are created with a series of HTML tags. The Visual Basic
1818

1919
## Frames pages in HTML
2020

21-
In HTML, frames pages and the frames they contain are built using a hierarchical set of <FRAMESET> and <FRAME> tags. A frameset can contain both frames and other framesets. For example, the following HTML creates a frameset with a frame on top and a frameset immediately below it. That frameset contains a frame on the left and a frameset on the right. That frameset contains two frames, one on top of the other.
21+
In HTML, frames pages and the frames they contain are built using a hierarchical set of &lt;FRAMESET&gt; and &lt;FRAME&gt; tags. A frameset can contain both frames and other framesets. For example, the following HTML creates a frameset with a frame on top and a frameset immediately below it. That frameset contains a frame on the left and a frameset on the right. That frameset contains two frames, one on top of the other.
2222

2323
```xml
2424
<FRAMESET ROWS="100, *">
@@ -33,11 +33,12 @@ In HTML, frames pages and the frames they contain are built using a hierarchical
3333
</FRAMESET>
3434
```
3535

36-
**Note** To better understand the preceding HTML example, paste the example into a blank text document, rename the document "framespage.htm", and open the document in Word or in a Web browser.
36+
>[NOTE]
37+
> To better understand the preceding HTML example, paste the example into a blank text document, rename the document "framespage.htm", and open the document in Word or in a Web browser.
3738
3839
## The Frameset Object
3940

40-
The **[Frameset](../../../api/Word.Frameset.md)** object encompasses the functionality of both tags. Each **Frameset** object is either of type **wdFramesetTypeFrameset** or **wdFramesetTypeFrame**, which represent the HTML tags <FRAMESET> and <FRAME> respectively. Properties beginning with "Frameset" apply to **Frameset** objects of type **wdFramesetTypeFrameset** (**[FramesetBorderColor](../../../api/Word.Frameset.FramesetBorderColor.md)** and **[FramesetBorderWidth](../../../api/Word.Frameset.FramesetBorderWidth.md)** . Properties beginning with "Frame" apply to **Frameset** objects of type **wdFramesetTypeFrame** (**[FrameDefaultURL](../../../api/Word.Frameset.FrameDefaultURL.md)**, **[FrameDisplayBorders](../../../api/Word.Frameset.FrameDisplayBorders.md)**, **[FrameLinkToFile](../../../api/Word.Frameset.FrameLinkToFile.md)**, **[FrameName](../../../api/Word.Frameset.FrameName.md)**, **[FrameResizable](../../../api/Word.Frameset.FrameResizable.md)**, and **[FrameScrollBarType](../../../api/Word.Frameset.FrameScrollbarType.md)**).
41+
The **[Frameset](../../../api/Word.Frameset.md)** object encompasses the functionality of both tags. Each **Frameset** object is either of type **wdFramesetTypeFrameset** or **wdFramesetTypeFrame**, which represent the HTML tags &lt;FRAMESET&gt; and &lt;FRAME&gt; respectively. Properties beginning with "Frameset" apply to **Frameset** objects of type **wdFramesetTypeFrameset** (**[FramesetBorderColor](../../../api/Word.Frameset.FramesetBorderColor.md)** and **[FramesetBorderWidth](../../../api/Word.Frameset.FramesetBorderWidth.md)** . Properties beginning with "Frame" apply to **Frameset** objects of type **wdFramesetTypeFrame** (**[FrameDefaultURL](../../../api/Word.Frameset.FrameDefaultURL.md)**, **[FrameDisplayBorders](../../../api/Word.Frameset.FrameDisplayBorders.md)**, **[FrameLinkToFile](../../../api/Word.Frameset.FrameLinkToFile.md)**, **[FrameName](../../../api/Word.Frameset.FrameName.md)**, **[FrameResizable](../../../api/Word.Frameset.FrameResizable.md)**, and **[FrameScrollBarType](../../../api/Word.Frameset.FrameScrollbarType.md)**).
4142

4243
## Traversing the Frameset Object Hierarchy
4344

@@ -224,4 +225,4 @@ Sub FramesetExample2()
224225
End Sub
225226
```
226227

227-
[!include[Support and feedback](~/includes/feedback-boilerplate.md)]
228+
[!include[Support and feedback](~/includes/feedback-boilerplate.md)]

0 commit comments

Comments
 (0)
Please sign in to comment.