AssemblyExtensionsGetEmbeddedResource Method
Gets the specified embedded resource from the assembly.
Namespace: Gemstone.Reflection.AssemblyExtensionsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.147 -- Release Build+759c9d29b79c81f10905de8f58b653be932045f0
public static Stream? GetEmbeddedResource(
this Assembly instance,
string resourceName
)
<ExtensionAttribute>
Public Shared Function GetEmbeddedResource (
instance As Assembly,
resourceName As String
) As Stream
public:
[ExtensionAttribute]
static Stream^ GetEmbeddedResource(
Assembly^ instance,
String^ resourceName
)
Gemstone.Reflection.AssemblyExtensions.AssemblyExtensions.GetEmbeddedResource = function(instance, resourceName);
- instance Assembly
- Source assembly.
- resourceName String
- The full name (including the namespace) of the embedded resource to get.
StreamThe embedded resource.In Visual Basic and C#, you can call this method as an instance method on any object of type
Assembly. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).