DataObject.Name Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of the associated DataSourceObject object.
public:
property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String
Property Value
Examples
In the following example, the Name property of the DataSourceObject object is used to display the name of the DataObject object in a message box:
string strName = thisXDocument.DataObjects[0].<span class="label">Name</span>;
thisXDocument.UI.Alert("Data Object name: " + strName);
Remarks
The name of the DataObject object is the same as the name of the secondary data source that it represents. The name of the DataObject object can also be used as the argument to the Item[Object] property.