ArcObjects Library Reference  (Geometry)    

ISpatialReferenceFactory.CreateParameter Method

Creates a predefined parameter.

[Visual Basic 6.0]
Function CreateParameter(
    ByVal parameterType As Long _
) As IParameter
[Visual Basic .NET]
Public Function CreateParameter ( _
    ByVal parameterType As Integer _
) As IParameter
[C#]
public IParameter CreateParameter (
    int parameterType
);
[Java]
public IParameter createParameter (
    int parameterType
)
throws
    IOException,
    AutomationException
[C++]
HRESULT CreateParameter(
  long parameterType,
  IParameter** newParameter
);
[C++]

Parameters

parameterType

  parameterType is a parameter of type long

newParameter [out, retval]

  newParameter is a parameter of type IParameter

Product Availability

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

Description

Use an element from the esriSRParameterTypeesriSRParameter2Type, esriSRParameter3Type, or esriSRParameter4Type enumerations as the ParameterType to create a particular predefined parameter.

See Also

ISpatialReferenceFactory Interface | esriSRParameterType Constants | esriSRParameter2Type Constants | esriSRParameter3Type Constants | esriSRParameter4Type Constants

Example

CreateParameter_Example

 


Feedback Send feedback on this page