XdmModuleAttribute ClassXdmModuleAttribute ClassXdmModuleAttribute Class
Indicates that a class implements an XDM module.
Inheritance Hierarchy
- System.ObjectSystem.ObjectSystem::Object
- System.AttributeSystem.AttributeSystem::Attribute
- XmlPrime.XdmModuleAttributeXmlPrime.XdmModuleAttributeXmlPrime::XdmModuleAttribute
The XdmModuleAttributeXdmModuleAttributeXdmModuleAttribute
type exposes the following members.
Constructors
Constructor | Description | |
---|---|---|
![]() | XdmModuleAttribute ()XdmModuleAttribute ()XdmModuleAttribute () | Initializes a new instance of the XdmModuleAttributeXdmModuleAttributeXdmModuleAttribute class. |
![]() | XdmModuleAttribute (string)XdmModuleAttribute (String)XdmModuleAttribute (String^) | Initializes a new instance of the XdmModuleAttributeXdmModuleAttributeXdmModuleAttribute class. |
Properties
Property | Description | |
---|---|---|
![]() | TargetNamespaceTargetNamespaceTargetNamespace | Gets or sets the target namespace of the module. The target namespace of the exported module. |
![]() | Attribute.TypeIdAttribute.TypeIdAttribute::TypeId | When implemented in a derived class, gets a unique identifier for this AttributeAttributeAttribute.(Inherited from System.AttributeSystem.AttributeSystem::Attribute) |
Methods
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | Attribute.GetIDsOfNamesAttribute.GetIDsOfNamesAttribute::GetIDsOfNames | Maps a set of names to a corresponding set of dispatch identifiers.(Inherited from System.AttributeSystem.AttributeSystem::Attribute) |
![]() ![]() | Attribute.GetTypeInfoAttribute.GetTypeInfoAttribute::GetTypeInfo | Retrieves the type information for an object, which can be used to get the type information for an interface.(Inherited from System.AttributeSystem.AttributeSystem::Attribute) |
![]() ![]() | Attribute.GetTypeInfoCountAttribute.GetTypeInfoCountAttribute::GetTypeInfoCount | Retrieves the number of type information interfaces that an object provides (either 0 or 1).(Inherited from System.AttributeSystem.AttributeSystem::Attribute) |
![]() ![]() | Attribute.InvokeAttribute.InvokeAttribute::Invoke | Provides access to properties and methods exposed by an object.(Inherited from System.AttributeSystem.AttributeSystem::Attribute) |
Remarks
An XDM module exports a number of functions that can be called from an XPath expression, XQuery program, or XSL transformation. In order to use such a module, call the NativeModule<T> ()NativeModule(Of T) ()NativeModule<T> () method to obtain an XdmModuleXdmModuleXdmModule object which can be added to the LibrariesLibrariesLibraries property.
The TargetNamespaceTargetNamespaceTargetNamespace property can be set to define the target namespace of the module.
Only public static functions with the XdmFunctionAttributeXdmFunctionAttributeXdmFunctionAttribute attribute are exported.