_Application.OrganizerCopy MethodÂ
Copies the specified AutoText entry, toolbar, style, or macro project item from the source document or template to the destination document or template.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim Source As String
Dim Destination As String
Dim Name As String
Dim Object As WdOrganizerObject
Dim _Application1 As _Application
_Application1.OrganizerCopy(Source, Destination, Name, Object)
Syntax
Sub OrganizerCopy( _
<InAttribute()> ByVal Source As String, _
<InAttribute()> ByVal Destination As String, _
<InAttribute()> ByVal Name As String, _
<InAttribute()> ByVal Object As WdOrganizerObject _
)
void OrganizerCopy(
[In] string Source,
[In] string Destination,
[In] string Name,
[In] WdOrganizerObject Object
);
public: Void OrganizerCopy(
String^ Source,
String^ Destination,
String^ Name,
WdOrganizerObject^ Object
);
public void OrganizerCopy(
/*in*/System.String Source,
/*in*/System.String Destination,
/*in*/System.String Name,
/*in*/WdOrganizerObject Object
);
function OrganizerCopy(
Source : String,
Destination : String,
Name : String,
Object : WdOrganizerObject
);
Parameters
- Source
Required String. The document or template file name that contains the item you want to copy.
- Destination
Required String. The document or template file name to which you want to copy an item.
- Name
Required String. The name of the AutoText entry, toolbar, style, or macro you want to copy.
- Object
Required WdOrganizerObject. The kind of item you want to copy.
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
_Application Interface
Microsoft.Office.Interop.Word Namespace