Class FeatureSourceExtensions
Extension method class
Inheritance
System.Object
FeatureSourceExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OSGeo.MapGuide.ObjectModels.FeatureSource
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
public static class FeatureSourceExtensions
Methods
| Improve this Doc View SourceAddRelateProperty(IAttributeRelation, String, String)
Adds the specified property pair to this join
Declaration
public static void AddRelateProperty(this IAttributeRelation rel, string primary, string secondary)
Parameters
Type | Name | Description |
---|---|---|
IAttributeRelation | rel | |
System.String | primary | |
System.String | secondary |
AddSpatialContextOverride(IFeatureSource, String, String)
Adds a spatial context override
Declaration
public static void AddSpatialContextOverride(this IFeatureSource fs, string name, string coordSys)
Parameters
Type | Name | Description |
---|---|---|
IFeatureSource | fs | |
System.String | name | |
System.String | coordSys |
ApplyConnectionProperties(IFeatureSource, NameValueCollection)
Sets the connection properties of the feature source
Declaration
public static void ApplyConnectionProperties(this IFeatureSource fs, NameValueCollection values)
Parameters
Type | Name | Description |
---|---|---|
IFeatureSource | fs | |
System.Collections.Specialized.NameValueCollection | values |
GetConnectionProperties(IFeatureSource)
Gets a collection of connection properties
Declaration
public static NameValueCollection GetConnectionProperties(this IFeatureSource fs)
Parameters
Type | Name | Description |
---|---|---|
IFeatureSource | fs |
Returns
Type | Description |
---|---|
System.Collections.Specialized.NameValueCollection |