XMLNamespaces.Add(String, Object, Object, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a XMLNamespace object that represents a schema that is added to the Schema Library and made available to users in Microsoft Word.
public Microsoft.Office.Interop.Word.XMLNamespace Add (string Path, ref object NamespaceURI, ref object Alias, bool InstallForAllUsers = false);
abstract member Add : string * obj * obj * bool -> Microsoft.Office.Interop.Word.XMLNamespace
Public Function Add (Path As String, Optional ByRef NamespaceURI As Object, Optional ByRef Alias As Object, Optional InstallForAllUsers As Boolean = false) As XMLNamespace
Parameters
- Path
- String
Required String. The path and file name of the schema. This may be a local file path, a network path, or an Internet address.
- NamespaceURI
- Object
Optional String. The namespace Uniform Resource Indicator as specified in the schema. The NamespaceURI
parameter is case-sensitive and must be spelled exactly as specified in schema.
- Alias
- Object
Optional String. The name of the schema as it appears on the Schemas tab in the Templates and Add-ins dialog box.
- InstallForAllUsers
- Boolean
Optional Boolean. True if all users that log on to a computer can access and use the new schema. The default is False.