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


IXmlPropertySetEdit.SetProperty Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IXmlPropertySetEdit.SetProperty Method

Sets the value of the specified element.

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

Parameters Name [in]
Name is a parameter of type BSTR Value [in]
Value is a parameter of type VARIANT propType [in]
propType is a parameter of type esriXmlPropertyType action [in]
action is a parameter of type esriXmlSetPropertyAction

Product Availability

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

See Also

IXmlPropertySetEdit Interface