_Application.RegisteredFunctions Property
Returns information about functions in either dynamic-link libraries (DLLs) or code resources that were registered with the REGISTER or REGISTER.ID macro functions.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property RegisteredFunctions ( _
Index1 As Object, _
Index2 As Object _
) As Object
Get
'Usage
Dim instance As _Application
Dim Index1 As Object
Dim Index2 As Object
Dim value As Object
value = instance.RegisteredFunctions(Index1, _
Index2)
Object this[
Object Index1,
Object Index2
] { get; }
Parameters
Index1
Type: System.ObjectOptional Object. The name of the DLL or code resource.
Index2
Type: System.ObjectOptional Object. The name of the function.
Property Value
Type: System.Object
Remarks
If you don’t specify these arguments, this property returns an array that contains a list of all registered functions. Each row in the array contains information about a single function, as shown in the following table.
Column |
Contents |
---|---|
1 |
The name of the DLL or code resource |
2 |
The name of the procedure in the DLL or code resource |
3 |
Strings specifying the data types of the return values and the number and data types of the arguments |
If there are no registered functions, this property returns Null.