This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.silverlightcore.feature [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.silverlightcore.feature [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.SilverlightCore.Feature ====== | ====== ThinkGeo.MapSuite.SilverlightCore.Feature ====== | ||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
- | + | The class Feature is the basic unit of which a FeatureSource is composed. A FeatureSource can be taken from a collection of Features stored in a ShapeFile, SQL Server 2008, Oracle, etc.A Feature is the basic data unit structure which is comprised of IDs that mark the identification of the Feature, a shape and a collection of data. | |
- | <!-- Structure --> | + | |
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
- | *System.ValueType | + | *System.Object |
- | **[[ThinkGeo.MapSuite.SilverlightCore.Feature]] | + | *System.ValueType |
+ | ***ThinkGeo.MapSuite.SilverlightCore.Feature** | ||
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} Feature(BaseShape) ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(BaseShape)|Feature]] | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(Byte[])|Feature]] | Byte[] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(Byte[], String)|Feature]] | Byte[], String | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(String)|Feature]] | String | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(String, String)|Feature]] | String, String | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(BaseShape, IDictionary<String, String>)|Feature]] | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]], IDictionary<String, String> | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(String, String, IDictionary<String, String>)|Feature]] | String, String, IDictionary<String, String> | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(String, String, IEnumerable<String>)|Feature]] | String, String, IEnumerable<String> | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(Byte[], String, IEnumerable<String>)|Feature]] | Byte[], String, IEnumerable<String> | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(Byte[], String, IDictionary<String, String>)|Feature]] | Byte[], String, IDictionary<String, String> | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(Vertex)|Feature]] | [[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(Vertex, String)|Feature]] | [[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]], String | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(Vertex, String, IEnumerable<String>)|Feature]] | [[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]], String, IEnumerable<String> | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(Double, Double)|Feature]] | Double, Double | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(Double, Double, String)|Feature]] | Double, Double, String | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Feature(Double, Double, String, IEnumerable<String>)|Feature]] | Double, Double, String, IEnumerable<String> | | | | + | |
- | ==== Protected Constructors ==== | + | * //This method is the constructor for the Feature.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
+ | * //When you create the Feature, specify the ID of the BaseShape you want to use as a basis.// | ||
+ | == Parameters == | ||
+ | * //baseShape// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] | ||
+ | * Description:This parameter represents the base shape you wish to use as the basis of the new Feature. | ||
- | ==== Public Methods ==== | + | <div newline></div> |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} Feature(Byte[]) ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#CloneDeep(IEnumerable<String>)|CloneDeep]] | IEnumerable<String> | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#CloneDeep(ReturningColumnsType)|CloneDeep]] | [[ThinkGeo.MapSuite.SilverlightCore.ReturningColumnsType|ReturningColumnsType]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object(overriden) | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetBoundingBox()|GetBoundingBox]] | | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object(overriden) | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetShape()|GetShape]] | | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetWellKnownBinary()|GetWellKnownBinary]] | | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetWellKnownText()|GetWellKnownText]] | | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetWellKnownType()|GetWellKnownType]] | | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#IsValid()|IsValid]] | | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object(overriden) | | | + | |
- | ==== Protected Methods ==== | + | * //This method is the constructor for the Feature.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | * //This overload allows you to create a feature using well-known binary. The Id for this Feature will be a random GUID.// |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | == Parameters == |
+ | * //wellKnownBinary// | ||
+ | * Type:Byte[] | ||
+ | * Description:This parameter is the well-known binary used to create the feature. | ||
- | ==== Public Properties ==== | + | <div newline></div> |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} Feature(Byte[],String) ** |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ColumnValues|ColumnValues]] | Dictionary<String,String> | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Id|Id]] | String | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Tag|Tag]] | Object | | | | + | |
- | ==== Protected Properties ==== | + | * //This method is the constructor for the Feature.// |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | == Remarks == |
+ | * //This overload allows you to create a feature using well-known binary and specify the Id.// | ||
+ | == Parameters == | ||
+ | * //wellKnownBinary// | ||
+ | * Type:Byte[] | ||
+ | * Description:This parameter is the well-known binary used to create the Feature. | ||
- | ==== Public Events ==== | + | * //id// |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | * Type:String |
+ | * Description:This parameter is the Id used for the Feature. | ||
- | ===== Public Constructors ===== | + | <div newline></div> |
- | ==== Feature(BaseShape) ==== | + | ** {{wiki:PublicMethod.gif|}} Feature(String) ** |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | baseShape | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.BaseShape --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | * //This method is the constructor for the Feature.// |
- | ==== Feature(Byte[]) ==== | + | == Remarks == |
- | === Parameters === | + | * //This overload allows you to create a feature using well-known text. The Id for the Feature will be a random GUID.// |
- | ^ Name ^ Type ^ Description ^ | + | == Parameters == |
- | | wellKnownBinary | Byte[]<!-- System.Byte[[]] --> | | | + | * //wellKnownText// |
+ | * Type:String | ||
+ | * Description:This parameter is the well-known text used to create the Feature. | ||
- | [[#Public Constructors|Go Back]] | + | <div newline></div> |
- | ==== Feature(Byte[], String) ==== | + | ** {{wiki:PublicMethod.gif|}} Feature(String,String) ** |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | wellKnownBinary | Byte[]<!-- System.Byte[[]] --> | | | + | |
- | | id | String<!-- System.String --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | * //This method is the constructor for the Feature.// |
- | ==== Feature(String) ==== | + | == Remarks == |
- | === Parameters === | + | * //This overload allows you to create the Feature from well-known text and specify the Id.// |
- | ^ Name ^ Type ^ Description ^ | + | == Parameters == |
- | | wellKnownText | String<!-- System.String --> | | | + | * //wellKnownText// |
+ | * Type:String | ||
+ | * Description:This parameter is the well-known text used to create the Feature. | ||
- | [[#Public Constructors|Go Back]] | + | * //id// |
- | ==== Feature(String, String) ==== | + | * Type:String |
- | === Parameters === | + | * Description:This parameter is the Id used in the Feature. |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | wellKnownText | String<!-- System.String --> | | | + | |
- | | id | String<!-- System.String --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | <div newline></div> |
- | ==== Feature(BaseShape, IDictionary<String, String>) ==== | + | ** {{wiki:PublicMethod.gif|}} Feature(BaseShape,IDictionary<String,String>) ** |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | baseShape | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.BaseShape --> | | | + | |
- | | columnValues | IDictionary<String,String><!-- System.Collections.Generic.IDictionary{System.String,System.String} --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | * //N/A// |
- | ==== Feature(String, String, IDictionary<String, String>) ==== | + | == Remarks == |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Parameters == |
- | | wellKnownText | String<!-- System.String --> | | | + | * //baseShape// |
- | | id | String<!-- System.String --> | | | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] |
- | | columnValues | IDictionary<String,String><!-- System.Collections.Generic.IDictionary{System.String,System.String} --> | | | + | * Description:N/A |
- | [[#Public Constructors|Go Back]] | + | * //columnValues// |
- | ==== Feature(String, String, IEnumerable<String>) ==== | + | * Type:IDictionary<String,String> |
- | === Parameters === | + | * Description:N/A |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | wellKnownText | String<!-- System.String --> | | | + | |
- | | id | String<!-- System.String --> | | | + | |
- | | columnValues | IEnumerable<String><!-- System.Collections.Generic.IEnumerable{System.String} --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | <div newline></div> |
- | ==== Feature(Byte[], String, IEnumerable<String>) ==== | + | ** {{wiki:PublicMethod.gif|}} Feature(String,String,IDictionary<String,String>) ** |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | wellKnownBinary | Byte[]<!-- System.Byte[[]] --> | | | + | |
- | | id | String<!-- System.String --> | | | + | |
- | | columnValues | IEnumerable<String><!-- System.Collections.Generic.IEnumerable{System.String} --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | * //N/A// |
- | ==== Feature(Byte[], String, IDictionary<String, String>) ==== | + | == Remarks == |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Parameters == |
- | | wellKnownBinary | Byte[]<!-- System.Byte[[]] --> | | | + | * //wellKnownText// |
- | | id | String<!-- System.String --> | | | + | * Type:String |
- | | columnValues | IDictionary<String,String><!-- System.Collections.Generic.IDictionary{System.String,System.String} --> | | | + | * Description:N/A |
- | [[#Public Constructors|Go Back]] | + | * //id// |
- | ==== Feature(Vertex) ==== | + | * Type:String |
- | === Parameters === | + | * Description:N/A |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | vertex | [[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]]<!-- ThinkGeo.MapSuite.SilverlightCore.Vertex --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | * //columnValues// |
- | ==== Feature(Vertex, String) ==== | + | * Type:IDictionary<String,String> |
- | === Parameters === | + | * Description:N/A |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | vertex | [[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]]<!-- ThinkGeo.MapSuite.SilverlightCore.Vertex --> | | | + | |
- | | id | String<!-- System.String --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | <div newline></div> |
- | ==== Feature(Vertex, String, IEnumerable<String>) ==== | + | ** {{wiki:PublicMethod.gif|}} Feature(String,String,IEnumerable<String>) ** |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | vertex | [[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]]<!-- ThinkGeo.MapSuite.SilverlightCore.Vertex --> | | | + | |
- | | id | String<!-- System.String --> | | | + | |
- | | columnValues | IEnumerable<String><!-- System.Collections.Generic.IEnumerable{System.String} --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | * //N/A// |
- | ==== Feature(Double, Double) ==== | + | == Remarks == |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Parameters == |
- | | x | Double<!-- System.Double --> | | | + | * //wellKnownText// |
- | | y | Double<!-- System.Double --> | | | + | * Type:String |
+ | * Description:N/A | ||
- | [[#Public Constructors|Go Back]] | + | * //id// |
- | ==== Feature(Double, Double, String) ==== | + | * Type:String |
- | === Parameters === | + | * Description:N/A |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | x | Double<!-- System.Double --> | | | + | |
- | | y | Double<!-- System.Double --> | | | + | |
- | | id | String<!-- System.String --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | * //columnValues// |
- | ==== Feature(Double, Double, String, IEnumerable<String>) ==== | + | * Type:IEnumerable<String> |
- | === Parameters === | + | * Description:N/A |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | x | Double<!-- System.Double --> | | | + | |
- | | y | Double<!-- System.Double --> | | | + | |
- | | id | String<!-- System.String --> | | | + | |
- | | columnValues | IEnumerable<String><!-- System.Collections.Generic.IEnumerable{System.String} --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | <div newline></div> |
- | ===== Protected Constructors ===== | + | ** {{wiki:PublicMethod.gif|}} Feature(Byte[],String,IEnumerable<String>) ** |
- | ===== Public Methods ===== | + | |
- | ==== CloneDeep(IEnumerable<String>) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]<!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | | | + | |
- | === Parameters === | + | * //This method is the constructor for the Feature.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | returningColumnNames | IEnumerable<String><!-- System.Collections.Generic.IEnumerable{System.String} --> | | | + | * //This overload allows you to create the Feature from well-known binary and feature ID, as well as specify the column values.// |
+ | == Parameters == | ||
+ | * //wellKnownBinary// | ||
+ | * Type:Byte[] | ||
+ | * Description:This parameter is the well-known binary used to create the Feature. | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | + | * //id// |
- | [[#Public Methods|Go Back]] | + | * Type:String |
- | ==== CloneDeep(ReturningColumnsType) ==== | + | * Description:This parameter is the Id used in the Feature. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]<!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | | | + | |
- | === Parameters === | + | * //columnValues// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:IEnumerable<String> |
- | | returningColumnNamesType | [[ThinkGeo.MapSuite.SilverlightCore.ReturningColumnsType|ReturningColumnsType]]<!-- ThinkGeo.MapSuite.SilverlightCore.ReturningColumnsType --> | | | + | * Description:This parameter is the columnValues used in the Feature. |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} Feature(Byte[],String,IDictionary<String,String>) ** |
- | ==== Equals(Object) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | obj | Object<!-- System.Object --> | | | + | * //N/A// |
+ | == Parameters == | ||
+ | * //wellKnownBinary// | ||
+ | * Type:Byte[] | ||
+ | * Description:N/A | ||
- | <!-- System.Object(overriden) --> | + | * //id// |
- | [[#Public Methods|Go Back]] | + | * Type:String |
- | ==== GetBoundingBox() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.RectangleShape --> | | | + | |
- | === Parameters === | + | * //columnValues// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:IDictionary<String,String> |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} Feature(Vertex) ** |
- | ==== GetHashCode() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | * //This method is the constructor for the Feature.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //You can use this constructor to create a point Feature easily.// | ||
+ | == Parameters == | ||
+ | * //vertex// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]] | ||
+ | * Description:This parameter is the x & y decimalDegreesValue pair used to make the point. The Id for the Feature will be a random GUID. | ||
- | <!-- System.Object(overriden) --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} Feature(Vertex,String) ** |
- | ==== GetShape() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.BaseShape --> | | | + | |
- | === Parameters === | + | * //This method is the constructor for the Feature.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //You can use this constructor to create a point Feature and specify the Id.// | ||
+ | == Parameters == | ||
+ | * //vertex// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]] | ||
+ | * Description:This parameter is the x & y decimalDegreesValue pair used to make the point. The Id for the Feature will be the value you pass in through the id parameter. | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | + | * //id// |
- | [[#Public Methods|Go Back]] | + | * Type:String |
- | ==== GetType() ==== | + | * Description:This parameter is the Id used in the Feature. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} Feature(Vertex,String,IEnumerable<String>) ** |
- | <!-- System.Object --> | + | * //This method is the constructor for the Feature.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetWellKnownBinary() ==== | + | * //You can use this constructor to create a point Feature and specify the Id as well as the column values.// |
- | === Return Value === | + | == Parameters == |
- | ^ Return Type ^ Description ^ | + | * //vertex// |
- | | Byte[]<!-- System.Byte[[]] --> | | | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]] |
+ | * Description:This parameter is the x & y decimalDegreesValue pair used to make the point. The Id for the Feature will be the value you pass in through the id parameter. | ||
- | === Parameters === | + | * //id// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
+ | * Description:This parameter is the Id used in the Feature. | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | + | * //columnValues// |
- | [[#Public Methods|Go Back]] | + | * Type:IEnumerable<String> |
- | ==== GetWellKnownText() ==== | + | * Description:This parameter is the columnValues used in the Feature. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} Feature(Double,Double) ** |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | + | * //This method is the constructor for the Feature.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetWellKnownType() ==== | + | * //You can use this constructor to create a point Feature based on x and y coordinates.// |
- | === Return Value === | + | == Parameters == |
- | ^ Return Type ^ Description ^ | + | * //x// |
- | | [[ThinkGeo.MapSuite.SilverlightCore.WellKnownType|WellKnownType]]<!-- ThinkGeo.MapSuite.SilverlightCore.WellKnownType --> | | | + | * Type:Double |
+ | * Description:This parameter is the x decimalDegreesValue pair used to make the point. The Id for the Feature will be a random GUID. | ||
- | === Parameters === | + | * //y// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
+ | * Description:This parameter is the y decimalDegreesValue pair used to make the point. The Id for the Feature will be a random GUID. | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} Feature(Double,Double,String) ** |
- | ==== IsValid() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | * //This method is the constructor for the Feature.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //You can use this constructor to create a point Feature based on x and y coordinates and specify the Id.// | ||
+ | == Parameters == | ||
+ | * //x// | ||
+ | * Type:Double | ||
+ | * Description:This parameter is the x decimalDegreesValue pair used to make the point. | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | + | * //y// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== ToString() ==== | + | * Description:This parameter is the y decimalDegreesValue pair used to make the point. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | * //id// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
+ | * Description:This parameter is the Id used in the Feature. | ||
- | <!-- System.Object(overriden) --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} Feature(Double,Double,String,IEnumerable<String>) ** |
- | ===== Protected Methods ===== | + | |
- | ==== Finalize() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //This method is the constructor for the Feature.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //You can use this constructor to create a point Feature based on x and y coordinates and specify both the Id and the column values.// | ||
+ | == Parameters == | ||
+ | * //x// | ||
+ | * Type:Double | ||
+ | * Description:This parameter is the x decimalDegreesValue pair used to make the point. | ||
- | <!-- System.Object --> | + | * //y// |
- | [[#Protected Methods|Go Back]] | + | * Type:Double |
- | ==== MemberwiseClone() ==== | + | * Description:This parameter is the y decimalDegreesValue pair used to make the point. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | * //id// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
+ | * Description:This parameter is the Id used in the Feature. | ||
- | <!-- System.Object --> | + | * //columnValues// |
- | [[#Protected Methods|Go Back]] | + | * Type:IEnumerable<String> |
- | ===== Public Properties ===== | + | * Description:This parameter is the columnValues used in the Feature. Each string |
- | ==== ColumnValues ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Dictionary<String,String><!-- System.Collections.Generic.Dictionary{System.String,System.String} --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | + | <div newline></div> |
- | [[#Public Properties|Go Back]] | + | ==== Protected Constructors ==== |
- | ==== Id ==== | + | ==== Public Methods ==== |
- | === Return Value === | + | ** {{wiki:PublicMethod.gif|}} GetWellKnownBinary() ** |
- | ^ Return Type ^ | + | |
- | | String<!-- System.String --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | + | * //This method returns the well-known binary that represents the Feature.// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== Tag ==== | + | * //This will return a copy of the well-known binary that represents the Feature.// |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Object<!-- System.Object --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Byte[] |
- | ===== Protected Properties ===== | + | * Description:This method returns the well-known binary that represents the Feature. |
- | ===== Public Events ===== | + | |
- | __NOTOC__ | + | == Parameters == |
- | [[Category:SilverlightMapSuiteCore]] | + | <div newline></div> |
- | [[Category:ThinkGeo.MapSuite.SilverlightCore]] | + | ** {{wiki:PublicMethod.gif|}} GetWellKnownType() ** |
- | [[Category:UpdateDocumentation]] | + | |
+ | * //This method returns the well known type that represents the Feature.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.WellKnownType|WellKnownType]] | ||
+ | * Description:This method returns the well known type that represents the Feature. | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetShape() ** | ||
+ | |||
+ | * //This method returns the shape class that represents the Feature.// | ||
+ | == Remarks == | ||
+ | * //This method allows you to get a shape class from a Feature. Because the Feature stores the geometry for itself in well-known binary, it may take some time to generate a shape class if the geometry is complex.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] | ||
+ | * Description:This method returns the shape class that represents the Feature. | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetWellKnownText() ** | ||
+ | |||
+ | * //This method returns the well-known text that represents the Feature.// | ||
+ | == Remarks == | ||
+ | * //This method allows you to get the well-known text from a Feature. Because the Feature stores the geometry for itself in well-known binary, it may take some time to generate the text if the geometry is complex.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:This method returns the well-known text that represents the Feature. | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetBoundingBox() ** | ||
+ | |||
+ | * //This method returns the bounding box of the Feature.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] | ||
+ | * Description:This method returns the bounding box of the Feature. | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} CloneDeep(IEnumerable<String>) ** | ||
+ | |||
+ | * //This method clones the entire structure, creating a totally separate copy.// | ||
+ | == Remarks == | ||
+ | * //This method will return a complete copy of the Feature. As this is a deep clone, there are no shared references between the source and the copy.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] | ||
+ | * Description:This method returns a clone of the entire structure, creating a totally separate copy. | ||
+ | |||
+ | == Parameters == | ||
+ | * //returningColumnNames// | ||
+ | * Type:IEnumerable<String> | ||
+ | * Description:This parameter represents the columnar data fields that you wish to include in the clone. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} CloneDeep(ReturningColumnsType) ** | ||
+ | |||
+ | * //This method clones the entire structure, creating a totally separate copy.// | ||
+ | == Remarks == | ||
+ | * //This method will return a complete copy of the Feature. As this is a deep clone, there are no shared references between the source and the copy.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] | ||
+ | * Description:This method returns a clone of the entire structure, creating a totally separate copy. | ||
+ | |||
+ | == Parameters == | ||
+ | * //returningColumnNamesType// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.ReturningColumnsType|ReturningColumnsType]] | ||
+ | * Description:This parameter allows you to select a type from the ReturningColumnsType that you wish to return with. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} IsValid() ** | ||
+ | |||
+ | * //This method returns the results of some simple validity tests on the Feature.// | ||
+ | == Remarks == | ||
+ | * //This method is used primarily to ensure that a Feature is valid. The reason is, since this is a structure, we cannot control the main constructor that allows you to create a Feature in an invalid state -- that state being one with no well-known binary at its core. If you use the constructure set provided, then the state should always be valid. This is a property you may want to check before you work with a Feature.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | * Description:This method returns the results of some simple validity tests on the Feature. | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
+ | |||
+ | * //This method compares two InternalFeatures to see if they are equal.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | * Description:This method compares two InternalFeatures to see if they are equal. | ||
+ | |||
+ | == Parameters == | ||
+ | * //obj// | ||
+ | * Type:Object | ||
+ | * Description:The first Feature. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
+ | |||
+ | * //This method returns a semi-unique hash code for the Feature.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Int32 | ||
+ | * Description:This method returns a semi-unique hash code for the Feature. | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Type | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ==== Protected Methods ==== | ||
+ | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Object | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ==== Public Properties ==== | ||
+ | ** {{wiki:PublicProperty.gif|}} Id ** | ||
+ | |||
+ | This property gets the Id for the Feature. | ||
+ | == Remarks == | ||
+ | The Id is a string that represents the unique identifier for this Feature. If the feature is returned from a FeatureSource, the Id will be the unique field descriptor used by the FeatureSource. For Shape Files this may be an integer, but for spatial databases the Id may be a GUID. | ||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} Tag ** | ||
+ | |||
+ | The tag of the Feature. | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:Object | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} ColumnValues ** | ||
+ | |||
+ | This property gets a dictionary of values to represent the column data related to this Feature. | ||
+ | == Remarks == | ||
+ | This property holds the column data related to this Feature. You can find the values in the dictionary using the column name as the key. Most methods that query and return InternalFeatures allow you to specify which columns of data you want returned with the results. You can also freely add and modify the data, as it is simply an in-memory dictionary. Any values added, deleted or updated will have no effect unless the Feature is part of a transaction. | ||
+ | == Return Value == | ||
+ | * Type:Dictionary<String,String> | ||
+ | |||
+ | ==== Protected Properties ==== | ||
+ | ==== Public Events ==== | ||