Document Library for WPF | ComponentOne
C1.WPF.Document.4.6.2 Assembly / C1.WPF.Document Namespace / Utils Class / GetResourceStream Method
An assembly where resources located.
The resource name.

In This Topic
    GetResourceStream Method
    In This Topic
    Gets resource stream from specified assembly.
    Syntax
    'Declaration
     
    Public Shared Function GetResourceStream( _
       ByVal asmb As Assembly, _
       ByVal resName As String _
    ) As Stream
    public static Stream GetResourceStream( 
       Assembly asmb,
       string resName
    )

    Parameters

    asmb
    An assembly where resources located.
    resName
    The resource name.

    Return Value

    The manifest resource; or null if no resources were specified during compilation or if the resource is not visible to the caller.
    See Also