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)
Usage
Dim Location As String
Dim Alias As Object
Dim InstallForAllUsers As Boolean
Dim returnValue As XSLTransform
Dim xSLTransforms1 As XSLTransforms
returnValue = xSLTransforms1.Add(Location, Alias, InstallForAllUsers)
Syntax
Function Add( _
<InAttribute()> ByVal Location As String, _
<InAttribute()> Optional ByRef Alias As Object, _
<InAttribute()> Optional ByVal InstallForAllUsers As Boolean _
) As XSLTransform
XSLTransform Add(
[In] string Location,
[In, Optional] ref object Alias,
[In, Optional] bool InstallForAllUsers
);
public: XSLTransform^ Add(
String^ Location,
&Object^ Alias,
Boolean InstallForAllUsers
);
public XSLTransform Add(
/*in*/System.String Location,
/*in*/System.Object Alias,
/*in*/boolean InstallForAllUsers
);
function Add(
Location : String,
Alias : Object,
InstallForAllUsers : Boolean
) : XSLTransform;
Parameters
- Location
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
Optional String. The name of the XSLT as it appears in the Schema Library.
- InstallForAllUsers
Optional Boolean. True if all users that log on to a computer can access and use the new schema. The default is False.
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
XSLTransforms Interface
Microsoft.Office.Interop.Word Namespace