Udostępnij za pośrednictwem


DocumentExtensions Class (2007 System)

Provides methods you can use to extend Microsoft Office Word documents by generating host items for native Word documents and by testing for the existence of the generated host items.

Namespace:  Microsoft.Office.Tools.Word.Extensions
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
<ExtensionAttribute> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class DocumentExtensions
'Usage
You do not need to declare an instance of a static class in order to access its members.
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public static class DocumentExtensions
[ExtensionAttribute]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class DocumentExtensions abstract sealed
public final class DocumentExtensions

Inheritance Hierarchy

System.Object
  Microsoft.Office.Tools.Word.Extensions.DocumentExtensions

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DocumentExtensions Members

Microsoft.Office.Tools.Word.Extensions Namespace

Change History

Date

History

Reason

July 2008

New type.

SP1 feature change.