ArcObjects Library Reference (DataSourcesRaster)  

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 (Code Files: GetSetKeyProperty)