[This is preliminary documentation and is subject to change.]
The EmbeddedResource type exposes the following members.Methods
| Name | Description | |
|---|---|---|
| GetBinaryContent |
Pass a type and resource path rooted at type's namespace, for example
given using (var stream = typeof(SomeType).GetBinary("My.Picture.gif")){...} | |
| GetBinaryStream |
Pass a type and resource path rooted at type's namespace, for example
given using (var stream = typeof(SomeType).GetBinary("My.Picture.gif")){...} | |
| GetText |
Pass a type and resource path rooted at type's namespace, for example
given string sql = typeof(SomeType).GetText("SQL.User.Insert.sql"); |
See Also