This document is archived and information here might be outdated.  Recommended version.


IXmlPropertySet.SimpleGetProperty Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IXmlPropertySet.SimpleGetProperty Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IXmlPropertySet Interface