ArcObjects Library Reference (System)  

IPropertySet.SetProperty Method

The value of the specified property.

[Visual Basic .NET]
Public Sub SetProperty ( _
    ByVal Name As String, _
    ByVal Value As Object _
)
[C#]
public void SetProperty (
    string Name,
    object Value
);
[C++]
HRESULT SetProperty(
  BSTR Name,
  VARIANT Value
);
[C++]

Parameters

Name [in]   Name is a parameter of type BSTR Value [in]   Value is a parameter of type VARIANT

Product Availability

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

Remarks

The Name parameter uses XSL Patterns to specify metadata elements.  Additional information on XSL can be found in the the IXmlPropertySet documentation.

See Also

IPropertySet Interface

.NET Snippets

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

.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) | Move a graphic along a path in ArcMap (Code Files: MapGraphicKeyframe MapGraphicTrackExtension) | 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: RSSWeatherLayerClass) | 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) | 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 class extensions | Creating geodatabases | DataSourcesGDB | DataSourcesOleDB | DataSourcesRaster | Geodatabase | GISClient | How to access an image service via LAN or Internet connection | How to connect to ArcGIS Tracking Server | How to create a dynamic geocoded feature class | 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 standardize an address | Server | Server object extensions (SOE) | Working with server contexts | Working with SQL workspaces |