Partager via


ResourceDictionaryCollection.AddEmbeddedResource(String) Method

Definition

Adds the embedded resource text file named resourceFileName from the assembly defining the remote user control. This method returns the embedded resource from the satellite assembly with the culture best matching CurrentUICulture.

public void AddEmbeddedResource (string resourceFileName);
member this.AddEmbeddedResource : string -> unit
Public Sub AddEmbeddedResource (resourceFileName As String)

Parameters

resourceFileName
String

The file name of the embedded resource as passed to GetManifestResourceStream(String).

Exceptions

If the same resourceFileName value is added a second time.

Applies to