XdmFunctionAttribute ClassXdmFunctionAttribute ClassXdmFunctionAttribute Class
This attribute is used to export a function in an XDM module.
Inheritance Hierarchy
- System.ObjectSystem.ObjectSystem::Object
- System.AttributeSystem.AttributeSystem::Attribute
- XmlPrime.XdmFunctionAttributeXmlPrime.XdmFunctionAttributeXmlPrime::XdmFunctionAttribute
The XdmFunctionAttributeXdmFunctionAttributeXdmFunctionAttribute
type exposes the following members.
Constructors
Constructor | Description | |
---|---|---|
![]() | XdmFunctionAttribute ()XdmFunctionAttribute ()XdmFunctionAttribute () | Initializes a new instance of the XdmFunctionAttributeXdmFunctionAttributeXdmFunctionAttribute class. |
![]() | XdmFunctionAttribute (string)XdmFunctionAttribute (String)XdmFunctionAttribute (String^) | Initializes a new instance of the XdmFunctionAttributeXdmFunctionAttributeXdmFunctionAttribute class with the specified local name. |
Properties
Property | Description | |
---|---|---|
![]() | 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
The LocalNameLocalNameLocalName fireld can be used to specify the name of the exported function in XQuery.
This attribute is ignored unless the containing object is marked with XdmModuleAttributeXdmModuleAttributeXdmModuleAttribute.
If the function does not satisfy the conditions specified for NativeModule<T>NativeModule(Of T)NativeModule<T> then a NotSupportedExceptionNotSupportedExceptionNotSupportedException will be thrown when NativeModule<T>NativeModule(Of T)NativeModule<T> is called for the containing type.