Class MapServerRelationshipClass

Namespace
ESRI.ArcGIS.Carto
Assembly
ESRI.Server.Carto.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("CDD2606D-6223-419E-ABC5-37DC9F83E0AE")]
public class MapServerRelationshipClass : MapServerRelationship, IMapServerRelationship, IXMLSerialize, IXMLVersionSupport, ISupportErrorInfo, IPersistStream, IPersist, IDocumentVersionSupportGEN
Inheritance
MapServerRelationshipClass
Implements
Inherited Members

Constructors

MapServerRelationshipClass()

public MapServerRelationshipClass()

Explicit Interface Implementations

ConvertToSupportedObject(esriArcGISVersion)

Convert the object to another object that is supported.

virtual object ConvertToSupportedObject(esriArcGISVersion docVersion)

Parameters

docVersion esriArcGISVersion

Returns

object

Remarks

This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE.  Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version.  Not all objects will return a supported object; in these cases a null pointer will be returned.

Deserialize(IXMLSerializeData)

Deserializes an object from XML.

virtual void Deserialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

IPersist_GetClassID(out Guid)

virtual void IPersist_GetClassID(out Guid pClassID)

Parameters

pClassID Guid

InterfaceSupportsErrorInfo(ref Guid)

virtual void InterfaceSupportsErrorInfo(ref Guid riid)

Parameters

riid Guid

IsDirty()

virtual void IsDirty()

IsSupportedAtVersion(esriArcGISVersion)

Is this object valid at the given document version.

virtual bool IsSupportedAtVersion(esriArcGISVersion docVersion)

Parameters

docVersion esriArcGISVersion

Returns

bool

Remarks

Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream.  This result is based on the esriArcGISVersion enumeration.  In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

MinNamespaceSupported

The minimum namespace the class can serialize to (eg the 90 namespace).

virtual string MinNamespaceSupported { get; }

Returns

string

Name

The name of the relationship.

virtual string Name { get; }

Returns

string

Remarks

Name refers to the name of relationship set in the map document or in the GeoDatabase. For example, a relationship may be named "Is owned by". If the layer is related to another layer, Layer A is related to Layer B, Name will be appended with ":Layer B". The full Name in this example would be "Is owned by: Layer B". If the layer is related to a table, Name does not contain the table name. Using the example above, Name would be "Is owned by". Name from IMapServerRow refers to the string value of the Primary Display Field of the related table or layer.

Rows

The rows.

virtual IMapServerRows Rows { get; }

Returns

IMapServerRows

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

Serialize(IXMLSerializeData)

Serializes an object to XML.

virtual void Serialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData