ArcObjects Library Reference (System)  

IPropertySet Interface

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
Read-only property Count The number of properties contained in the property set.
Method GetAllProperties The name and value of all the properties in the property set.
Method GetProperties The values of the specified properties.
Method GetProperty The value of the specified property.
Method IsEqual True if the property set is the same as the input property set.
Method RemoveProperty Removes a property from the set.
Method SetProperties The values of the specified properties.
Method 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.

.NET Snippets

Get Tactical Graphic Property Set | Get Force Element Property Set | Create Force Element | Create Tactical Graphic |

.NET Samples

Adding a real-time feed to ArcMap (Code Files: AddTrackingServerLayerButton) | Closest facility application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ClosestFacility_GISServerAPIClass) | Create a custom raster function (Code Files: WatermarkFunction WatermarkFunctionUIClass) | Create a custom raster type (Code Files: TestThumbnailBuilder ThumbnailBuilder) | Create a Mosaic dataset (Code Files: CreateMosaicDataset) | Create a Raster Function template (Code Files: CreateRasterFunctionTemplate) | Find an address (Code Files: AddressForm) | Find near features REST SOE (Code Files: FindNearFeaturesRestSOE_VBNet) | Find near features SOAP SOE (Code Files: FindNearFeaturesSoapSOE_VBNet) | Find the closest intersection from a point (Code Files: FindClosestIntersection) | Implementing a schematic layout algorithm and its layout property page (Code Files: TranslateTree) | Implementing a schematic rule and its property page (Code Files: ReductionLinkRule) | Move a graphic along a path in ArcMap (Code Files: MapGraphicKeyframe MapGraphicTrackExtension) | Package a PMF (Code Files: PackagePMF) | Publish a map (Code Files: PublishMap) | Publish an image service and set configurations (Code Files: ISConfig) | Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: Route_GISClientClass) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: Route_GISServerAPIClass) | RSS weather layer (Code Files: IdentifyDlg RSSWeatherIdentifyObject RSSWeatherLayerClass WeatherItemSelectionDlg) | Server spatial query server object extension (Code Files: PropertyPage) | Service area application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ServiceArea_GISServerAPIClass) | Single line address geocoding (Code Files: SingleLineGeocodingForm) | StreetMap routing (Code Files: RoutingForm) | Tabbed feature inspector (Code Files: ObjectInspector TabbedInspector) | Temporal statistics (Code Files: MainForm) | Timestamper class extension (Code Files: TimestampClassExtension) | Using MOLE symbol-based graphics with interactive maps (Code Files: MainForm) |

.NET Related Topics

Connecting to a geodatabase | Creating an address locator | Creating class extensions | Creating geodatabases | DataSourcesGDB | DataSourcesOleDB | DataSourcesRaster | Feature services | Geocode services | Geodatabase | GISClient | How to access an image service via LAN or Internet connection | How to access JPEG EXIF tags | How to connect to ArcGIS Tracking Server | How to create a dynamic geocoded feature class | How to create SOE property pages | How to develop the SOE | How to find the address closest to a point using reverse geocoding | How to geocode a single address | How to geocode a table of addresses | How to initialize a GeoDataServer object | How to open locator workspaces | How to rematch a geocoded feature class | How to standardize an address | How to work with geocoding properties | LocationUI | Programming with server objects | Publisher | REST Web services | Server | Server object extensions (SOE) | SOAP Web services | Working with server contexts | Working with SQL workspaces |