XdmFunctionAttribute.LocalName FieldXdmFunctionAttribute.LocalName FieldXdmFunctionAttribute::LocalName Field

The local name of the exported function.

Syntax

Public ReadOnly LocalName As String
public readonly string LocalName
public:
initonly String^ LocalName
 

Remarks

The namespace of the function is specified by the XdmModuleAttributeXdmModuleAttributeXdmModuleAttribute attribute on the containing type.

If this field is set to null a null reference (Nothing in Visual Basic) nullptr then the name of the method is used.

If this field is set to a value that is not a valid

 
xs:NCName
 
, or this field is set to null a null reference (Nothing in Visual Basic) nullptr, and the name of the exported method is not a valid
 
xs:NCName
 
then a InvalidOperationExceptionInvalidOperationExceptionInvalidOperationException will be thrown when an attempt is made to load the module.