This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IX > IXmlPropertySet Interface > IXmlPropertySet.SimpleGetProperty Method (ArcObjects .NET 10.4 SDK) |
The values of the specified property.
[Visual Basic .NET] Public Function SimpleGetProperty ( _ ByVal Name As String _ ) As String
[C#] public string SimpleGetProperty ( string Name );
[C++]
HRESULT SimpleGetProperty(
BSTR Name,
BSTR* Value
);
[C++]
Parameters Name [in] Name is a parameter of type BSTR Value [out, retval] Value is a parameter of type BSTR
The SimpleGetProperty method returns the value of the specified Name expression as string.
The Name expression uses XPath to locate and process items in XML documents. More information on XPath is available at IXmlPropertySet Interface.
Requesting a property which contains other properties will return the name of one of the child properties.
Using this method to locate Enclosures and Images will extract the files to a temporary directory (if not already extracted) and return the path to the temporary files. Using it to request a property of type Picture will return an IPicture reference.