XSLTransforms.Add Method
Returns a XSLTransform object that represents an Extensible Stylesheet Language Transformation (XSLT) added to the collection of XSLTs for a specified schema.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function Add ( _
Location As String, _
ByRef Alias As Object, _
InstallForAllUsers As Boolean _
) As XSLTransform
'Usage
Dim instance As XSLTransforms
Dim Location As String
Dim Alias As Object
Dim InstallForAllUsers As Boolean
Dim returnValue As XSLTransform
returnValue = instance.Add(Location, Alias, _
InstallForAllUsers)
XSLTransform Add(
string Location,
ref Object Alias,
bool InstallForAllUsers
)
Parameters
- Location
Type: System.String
Required String. The path and file name of the XSLT. This may be a local file path, a network path, or an Internet address.
- Alias
Type: System.Object%
Optional String. The name of the XSLT as it appears in the Schema Library.
- InstallForAllUsers
Type: System.Boolean
Optional Boolean. True if all users that log on to a computer can access and use the new schema. The default is False.
Return Value
Type: Microsoft.Office.Interop.Word.XSLTransform