Provides access to members for managing a PropertySet. Note: the IPropertySet interface has been superseded byIPropertySet2. Please consider using the more recent version.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
The IPropertySet interface contains methods to set and retrieve the collection of named value pairs in the PropertySet.
Members
Description | ||
---|---|---|
Count | The number of properties contained in the property set. | |
GetAllProperties | The name and value of all the properties in the property set. | |
GetProperties | The values of the specified properties. | |
GetProperty | The value of the specified property. | |
IsEqual | True if the property set is the same as the input property set. | |
RemoveProperty | Removes a property from the set. | |
SetProperties | The values of the specified properties. | |
SetProperty | The value of the specified property. |
CoClasses that implement IPropertySet
CoClasses and Classes | Description |
---|---|
GenericLocatorStyle (esriLocation) | A generic style for creating a new locator. |
PropertySet | Esri Property Set object. |
RasterFunctionTemplateArguments (esriDataSourcesRaster) | A class for template function arguments. |
XmlPropertySet (esriGeoDatabase) | Esri XML PropertySet object. |
Remarks
PropertySet is a generic class that is used to hold a set of properties for anything. One example for the use of a property set is to hold the properties required for opening up an SDE workspace as is shown in the example code.
Typically a property set can be thought of as a set of keys (strings) and values (variants/objects). One notable exception to this is when using the IPropertySet interface on an XmlPropertySet object. An XML document can contain multiple elements with the same name (i.e. "property/child") and different values. Because of this, the values returned by this interface from an XmlPropertySet may be jagged two-dimensional arrays (arrays containing other arrays). See the XmlPropertySet coclass' documentation in the Geodatabase library for more details and code examples.