Editar

Partilhar via


SplashScreen Constructors

Definition

Initializes a new instance of the SplashScreen class.

Overloads

SplashScreen(String)

Initializes a new instance of the SplashScreen class with the specified resource.

SplashScreen(Assembly, String)

Initializes a new instance of the SplashScreen class with the specified resource assembly.

SplashScreen(String)

Initializes a new instance of the SplashScreen class with the specified resource.

public:
 SplashScreen(System::String ^ resourceName);
public SplashScreen (string resourceName);
[System.Security.SecurityCritical]
public SplashScreen (string resourceName);
new System.Windows.SplashScreen : string -> System.Windows.SplashScreen
[<System.Security.SecurityCritical>]
new System.Windows.SplashScreen : string -> System.Windows.SplashScreen
Public Sub New (resourceName As String)

Parameters

resourceName
String

The name of the embedded resource.

Attributes

Remarks

The resourceName parameter follows the usual rules for embedded resources. For more information, see the ResourceManager class. The resourceName parameter specifies the name of the resource file, and not a URI.

See also

Applies to

SplashScreen(Assembly, String)

Initializes a new instance of the SplashScreen class with the specified resource assembly.

public:
 SplashScreen(System::Reflection::Assembly ^ resourceAssembly, System::String ^ resourceName);
[System.Security.SecurityCritical]
public SplashScreen (System.Reflection.Assembly resourceAssembly, string resourceName);
public SplashScreen (System.Reflection.Assembly resourceAssembly, string resourceName);
[<System.Security.SecurityCritical>]
new System.Windows.SplashScreen : System.Reflection.Assembly * string -> System.Windows.SplashScreen
new System.Windows.SplashScreen : System.Reflection.Assembly * string -> System.Windows.SplashScreen
Public Sub New (resourceAssembly As Assembly, resourceName As String)

Parameters

resourceAssembly
Assembly

The assembly that contains the embedded resource.

resourceName
String

The name of the embedded resource.

Attributes

Remarks

The resourceAssembly and resourceName parameters follow the usual rules for embedded resources. For more information, see the ResourceManager class. The resourceName parameter specifies the name of the resource file, and not a URI.

See also

Applies to