編輯

共用方式為


MathObject Interface

Definition

Provides several math-related methods that can be used in Microsoft InfoPath forms.

public interface class MathObject : Microsoft::Office::Interop::InfoPath::IPMath
[System.Runtime.InteropServices.Guid("096CD6A0-0786-11D1-95FA-0080C78EE3BB")]
public interface MathObject : Microsoft.Office.Interop.InfoPath.IPMath
type MathObject = interface
    interface IPMath
Public Interface MathObject
Implements IPMath
Derived
Attributes
Implements

Remarks

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, seeIPMath.

Use the Math property of the UtilObject object to return a Math object.

Methods

Avg(IXMLDOMNodeList)

Gets the average value of all numerical elements in a node set.

(Inherited from IPMath)
Eval(IXMLDOMNodeList, String)

Gets the sets of results calculated when the expression is applied to each set of elements in the context.

(Inherited from IPMath)
Max(IXMLDOMNodeList)

Gets the largest value of all of the numerical elements in a node set.

(Inherited from IPMath)
Min(IXMLDOMNodeList)

Gets the smallest value of all of the numerical elements in a node set.

(Inherited from IPMath)
Nz(IXMLDOMNodeList)

Gets the node set passed to the function, except with zeros (0) where empty values existed before.

(Inherited from IPMath)

Applies to