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


IRasterKeyProperties.SetProperty Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterKeyProperties Interface > IRasterKeyProperties.SetProperty Method
ArcGIS Developer Help

IRasterKeyProperties.SetProperty Method

Updates the value of the specified key property by name.

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

sName is a parameter of type BSTR vtValue [in]
vtValue is a parameter of type VARIANT

Product Availability

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

See Also

IRasterKeyProperties Interface

.NET Samples

Get and set key properties on a mosaic dataset