次の方法で共有


DocumentEvents2_Event.add_New Method

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[このトピックはプレリリース版のため将来変更される可能性があります。また、プレースホルダとしてブランクのトピックが含まれています。]

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

'使用
Sub Sub1()
End Sub
Dim  As New DocumentEvents2_NewEventHandler(AddressOf Sub1)
Dim documentEvents2_Event1 As DocumentEvents2_Event
documentEvents2_Event1.add_New()

Syntax

'宣言
Sub add_New( _
    ByVal  As DocumentEvents2_NewEventHandler _
)
void add_New(
    DocumentEvents2_NewEventHandler 
);
public: Void add_New(
    DocumentEvents2_NewEventHandler^ 
);
public void add_New(
    DocumentEvents2_NewEventHandler 
);
function add_New(
      : DocumentEvents2_NewEventHandler
);

Parameters

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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

DocumentEvents2_Event Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

DocumentEvents2_Event Members