ResourceDictionaryCollection.AddEmbeddedResource(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.