Share via


WindowObjectClass.Caption property

This type is a wrapper for a coclass or coclass member that is required by managed code for COM interoperability. This class is not intended to be used in code.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
Public Overridable Property Caption As String
    Get
    Set
'Usage
Dim instance As WindowObjectClass
Dim value As String

value = instance.Caption

instance.Caption = value
public virtual string Caption { get; set; }

Property value

Type: System.String

Implements

Window2.Caption

See also

Reference

WindowObjectClass class

WindowObjectClass members

Microsoft.Office.Interop.InfoPath namespace