OfficeDev / VBA-content

All content in this repository has been migrated to a new repository (https://github.com/MicrosoftDocs/VBA-Docs). Please do not open issues or pull requests here. We are no longer monitoring this content.
https://github.com/MicrosoftDocs/VBA-Docs
Creative Commons Attribution 4.0 International
562 stars 436 forks source link

Problems with TextRange2 #16

Closed stormraiser closed 8 years ago

stormraiser commented 8 years ago

I'm writing an add-in for PowerPoint 2013 with C#. I think here in bce672a4-b108-b223-7e65-71f07d7f4197.md the return type of TextRange method should be TextRange2. It took me some time to figure this out and it confused me. Is that an error in the document or C# and VBA are different? TextRange2 is not even listed in the index. And I guess probably there are errors elsewhere where xxx should be xxx2.

v-stnel commented 8 years ago

Thanks for pointing out this issue. I have chanced the return value for TextRange property and added the TextRange2 object to the TOC. The information on MSDN is correct and we will be updating GitHub shortly.