Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
<!– Class –> This class represents the event arguments for the StreamLoading event.
Alternate StreamsWhere possible, we allow you to use a stream in place of concrete files on the file system. This gives you the flexibility to retrieve data from isolated storage, encrypted files, compressed files, fast memory streams or any other stream origin. This is typically available where you would pass in a path and file name. Streams can be substituted in a number of places such as images, shape files and so on. We describe how the system works in the following paragraphs, although specific places may have slightly different variations.You will create the object that will use the stream normally, such as a ShapeFileFeatureSource, and then subscribe to the StreamLoading event. For these classes you typically need to supply a path and file name. While this is still required, you can pass in a validly-formatted path that does not actually exist, such as “Z:\ShapeFile1.shp”. When we need the stream from you, we will give you this string so you can find the associated stream. In essence, you can use the path and file name as a key to link to the source of your stream.When we need the file, we will raise the StreamLoading event and allow you to pass an alternate stream. In the StreamLoading event, we provide you with the path and file name you used and we expect for you to create the stream and set it as the AlternateStream property along with setting the FileMode and File access appropriate to the stream. This helps us know our limits with the stream.
*System.Object System.EventArgs *ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
StreamLoadingEventArgs | This is the constructor for the class. | ||
StreamLoadingEventArgs | String, Stream, FileMode, FileAccess | This is the constructor for the class. |
| Name | Parameters | DeclaringType | Summary |
|---|
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Equals | Object | Object | |
GetHashCode | Object | ||
GetType | Object | ||
ToString | Object |
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Finalize | Object | ||
MemberwiseClone | Object |
| Name | Return | DeclaringType | Summary |
|---|---|---|---|
AlternateStream | Stream | This property gets and sets the alternate stream you want to use. | |
AlternateStreamName | String | This property gets or sets the source of the stream you wish the user to pass you. | |
FileAccess | FileAccess | This property gets and sets the file access that the alternate stream needs to function as. | |
FileMode | FileMode | This property gets and sets the file mode that the alternate stream needs to function as. |
| Name | Return | DeclaringType | Summary |
|---|
| Name | Event Arguments | DeclaringType | Summary |
|---|
This is the constructor for the class.
This is the default constructor, which takes no arguments. It is typically not used.
This is the default constructor, which takes no arguments. It is typically not used.Alternate StreamsWhere possible, we allow you to use a stream in place of concrete files on the file system. This gives you the flexibility to retrieve data from isolated storage, encrypted files, compressed files, fast memory streams or any other stream origin. This is typically available where you would pass in a path and file name. Streams can be substituted in a number of places such as images, shape files and so on. We describe how the system works in the following paragraphs, although specific places may have slightly different variations.You will create the object that will use the stream normally, such as a ShapeFileFeatureSource, and then subscribe to the StreamLoading event. For these classes you typically need to supply a path and file name. While this is still required, you can pass in a validly-formatted path that does not actually exist, such as “Z:\ShapeFile1.shp”. When we need the stream from you, we will give you this string so you can find the associated stream. In essence, you can use the path and file name as a key to link to the source of your stream.When we need the file, we will raise the StreamLoading event and allow you to pass an alternate stream. In the StreamLoading event, we provide you with the path and file name you used and we expect for you to create the stream and set it as the AlternateStream property along with setting the FileMode and File access appropriate to the stream. This helps us know our limits with the stream.
| Name | Type | Description |
|---|
This is the constructor for the class.
This is the constructor we suggest you use when creating this class.
This is the constructor we suggest you use when creating this class.Alternate StreamsWhere possible, we allow you to use a stream in place of concrete files on the file system. This gives you the flexibility to retrieve data from isolated storage, encrypted files, compressed files, fast memory streams or any other stream origin. This is typically available where you would pass in a path and file name. Streams can be substituted in a number of places such as images, shape files and so on. We describe how the system works in the following paragraphs, although specific places may have slightly different variations.You will create the object that will use the stream normally, such as a ShapeFileFeatureSource, and then subscribe to the StreamLoading event. For these classes you typically need to supply a path and file name. While this is still required, you can pass in a validly-formatted path that does not actually exist, such as “Z:\ShapeFile1.shp”. When we need the stream from you, we will give you this string so you can find the associated stream. In essence, you can use the path and file name as a key to link to the source of your stream.When we need the file, we will raise the StreamLoading event and allow you to pass an alternate stream. In the StreamLoading event, we provide you with the path and file name you used and we expect for you to create the stream and set it as the AlternateStream property along with setting the FileMode and File access appropriate to the stream. This helps us know our limits with the stream.
| Name | Type | Description |
|---|---|---|
| alternateStreamName | String<!– System.String –> | This parameter represents the key string you will use to find the stream on the client end. |
| alternateStream | Stream<!– System.IO.Stream –> | This parameter should be set in the event by the user to represent the alternate stream. |
| fileMode | FileMode<!– System.IO.FileMode –> | This parameter should be set in the event by the user to represent the file mode that the alternate stream needs to function as. |
| fileAccess | FileAccess<!– System.IO.FileAccess –> | This parameter should be set in the event by the user to represent the file access that the alternate stream needs to function as. |
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs#Equals.28Object.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs#Equals.28Object.29</a>
| Return Type | Description |
|---|---|
| Boolean<!– System.Boolean –> |
| Name | Type | Description |
|---|---|---|
| obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs#GetHashCode.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs#GetHashCode.28.29</a>
| Return Type | Description |
|---|---|
| Int32<!– System.Int32 –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs#GetType.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs#GetType.28.29</a>
| Return Type | Description |
|---|---|
| Type<!– System.Type –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs#ToString.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs#ToString.28.29</a>
| Return Type | Description |
|---|---|
| String<!– System.String –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs#Finalize.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs#Finalize.28.29</a>
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs#MemberwiseClone.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs#MemberwiseClone.28.29</a>
| Return Type | Description |
|---|---|
| Object<!– System.Object –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
This property gets and sets the alternate stream you want to use.
When the event is raised, the user should be responsible for either ignoring this property or setting it. It should default to null and if the user wishes to use an alternate stream instead of a file from the disk then they should replace it here.Alternate StreamsWhere possible, we allow you to use a stream in place of concrete files on the file system. This gives you the flexibility to retrieve data from isolated storage, encrypted files, compressed files, fast memory streams or any other stream origin. This is typically available where you would pass in a path and file name. Streams can be substituted in a number of places such as images, shape files and so on. We describe how the system works in the following paragraphs, although specific places may have slightly different variations.You will create the object that will use the stream normally, such as a ShapeFileFeatureSource, and then subscribe to the StreamLoading event. For these classes you typically need to supply a path and file name. While this is still required, you can pass in a validly-formatted path that does not actually exist, such as “Z:\ShapeFile1.shp”. When we need the stream from you, we will give you this string so you can find the associated stream. In essence, you can use the path and file name as a key to link to the source of your stream.When we need the file, we will raise the StreamLoading event and allow you to pass an alternate stream. In the StreamLoading event, we provide you with the path and file name you used and we expect for you to create the stream and set it as the AlternateStream property along with setting the FileMode and File access appropriate to the stream. This helps us know our limits with the stream.
| Return Type |
|---|
| Stream<!– System.IO.Stream –> |
<!– ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs –> Go Back
This property gets or sets the source of the stream you wish the user to pass you.
This is always set by the person who created the event arguments and should not be changed by the user.The streamSource name just needs to be some unique string that will let the user know which file or stream you want. For example, you could have a streamSourceName of “Z:\test.shp” and though the Z drive might not exist it might be a clue for you to load “test.shp” from isolated storage. We suggest you use a string that is in the file format of “?:\????.???” as this allows us to validate it, though we do not check if it actually exists.Alternate StreamsWhere possible, we allow you to use a stream in place of concrete files on the file system. This gives you the flexibility to retrieve data from isolated storage, encrypted files, compressed files, fast memory streams or any other stream origin. This is typically available where you would pass in a path and file name. Streams can be substituted in a number of places such as images, shape files and so on. We describe how the system works in the following paragraphs, although specific places may have slightly different variations.You will create the object that will use the stream normally, such as a ShapeFileFeatureSource, and then subscribe to the StreamLoading event. For these classes you typically need to supply a path and file name. While this is still required, you can pass in a validly-formatted path that does not actually exist, such as “Z:\ShapeFile1.shp”. When we need the stream from you, we will give you this string so you can find the associated stream. In essence, you can use the path and file name as a key to link to the source of your stream.When we need the file, we will raise the StreamLoading event and allow you to pass an alternate stream. In the StreamLoading event, we provide you with the path and file name you used and we expect for you to create the stream and set it as the AlternateStream property along with setting the FileMode and File access appropriate to the stream. This helps us know our limits with the stream.
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs –> Go Back
This property gets and sets the file access that the alternate stream needs to function as.
You should set the file access to the mode that best describes the limitations inherent to your alternate stream.Alternate StreamsWhere possible, we allow you to use a stream in place of concrete files on the file system. This gives you the flexibility to retrieve data from isolated storage, encrypted files, compressed files, fast memory streams or any other stream origin. This is typically available where you would pass in a path and file name. Streams can be substituted in a number of places such as images, shape files and so on. We describe how the system works in the following paragraphs, although specific places may have slightly different variations.You will create the object that will use the stream normally, such as a ShapeFileFeatureSource, and then subscribe to the StreamLoading event. For these classes you typically need to supply a path and file name. While this is still required, you can pass in a validly-formatted path that does not actually exist, such as “Z:\ShapeFile1.shp”. When we need the stream from you, we will give you this string so you can find the associated stream. In essence, you can use the path and file name as a key to link to the source of your stream.When we need the file, we will raise the StreamLoading event and allow you to pass an alternate stream. In the StreamLoading event, we provide you with the path and file name you used and we expect for you to create the stream and set it as the AlternateStream property along with setting the FileMode and File access appropriate to the stream. This helps us know our limits with the stream.
| Return Type |
|---|
| FileAccess<!– System.IO.FileAccess –> |
<!– ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs –> Go Back
This property gets and sets the file mode that the alternate stream needs to function as.
You should set the file mode to the mode that best describes the limitations inherent to your alternate stream.Alternate StreamsWhere possible, we allow you to use a stream in place of concrete files on the file system. This gives you the flexibility to retrieve data from isolated storage, encrypted files, compressed files, fast memory streams or any other stream origin. This is typically available where you would pass in a path and file name. Streams can be substituted in a number of places such as images, shape files and so on. We describe how the system works in the following paragraphs, although specific places may have slightly different variations.You will create the object that will use the stream normally, such as a ShapeFileFeatureSource, and then subscribe to the StreamLoading event. For these classes you typically need to supply a path and file name. While this is still required, you can pass in a validly-formatted path that does not actually exist, such as “Z:\ShapeFile1.shp”. When we need the stream from you, we will give you this string so you can find the associated stream. In essence, you can use the path and file name as a key to link to the source of your stream.When we need the file, we will raise the StreamLoading event and allow you to pass an alternate stream. In the StreamLoading event, we provide you with the path and file name you used and we expect for you to create the stream and set it as the AlternateStream property along with setting the FileMode and File access appropriate to the stream. This helps us know our limits with the stream.
| Return Type |
|---|
| FileMode<!– System.IO.FileMode –> |
<!– ThinkGeo.MapSuite.MapSuiteGeocoder.StreamLoadingEventArgs –> Go Back
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.