Share via


ViewInfo2.Name Property

Gets the name of the view that is associated with the ViewInfoObject object.

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

Syntax

'Declaration
ReadOnly Property Name As String
    Get
'Usage
Dim instance As ViewInfo2
Dim value As String

value = instance.Name
string Name { get; }

Property Value

Type: System.String
The name of the view that is associated with the ViewInfoObject object.

Implements

ViewInfo.Name

Remarks

The name of the ViewInfoObject object is the same as the name of the view that it represents. The name of the ViewInfoObject object can also be used as the argument to the Item property of the ViewInfosCollection collection.

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

See Also

Reference

ViewInfo2 Interface

ViewInfo2 Members

Name Overload

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace