ArcObjects Library Reference  (System)    

IPropertySet.SetProperty Method

The value of the specified property.

[Visual Basic 6.0]
Sub SetProperty(
    ByVal Name As String, _
    ByVal Value As Variant _
)
[Visual Basic .NET]
Public Sub SetProperty ( _
    ByVal Name As String, _
    ByVal Value As Object _
)
[C#]
public void SetProperty (
    string Name,
    object Value
);
[Java]
public void setProperty (
    String Name,
    Object Value
)
throws
    IOException,
    AutomationException
[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

Example

GetProperty Example

 


Feedback Send feedback on this page