AssemblyExtensionsGetEmbeddedResource Method
Gets the specified embedded resource from the assembly.
Namespace: Gemstone.Reflection.AssemblyExtensionsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
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).