共用方式為


DataGridView Constructor

Include Protected Members
Include Inherited Members

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method DataGridView() Infrastructure.
Public method DataGridView(Factory, IHostItemProvider, IServiceProvider, String, String, Object, String) Infrastructure.

Top

Remarks

Do not use the constructor to create a new DataGridView. Use the AddDataGridView() method to add a new DataGridView to a document. For more information, see Adding Controls to Office Documents at Run Time.

See Also

Reference

DataGridView Class

Microsoft.Office.Tools.Word.Controls Namespace