StyleSheet.FromAssemblyResource(Assembly, String, IXmlLineInfo) 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.
Caution
use FromResource()
Returns the specified style sheet.
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("use FromResource()")]
public static Xamarin.Forms.StyleSheets.StyleSheet FromAssemblyResource (System.Reflection.Assembly assembly, string resourceId, System.Xml.IXmlLineInfo lineInfo = default);
static member FromAssemblyResource : System.Reflection.Assembly * string * System.Xml.IXmlLineInfo -> Xamarin.Forms.StyleSheets.StyleSheet
Parameters
- assembly
- System.Reflection.Assembly
The assembly that contains the style sheet.
- resourceId
- System.String
The resource ID for the style sheet.
- lineInfo
- System.Xml.IXmlLineInfo
The line information for retrieving the style sheet.
Returns
The specified style sheet.
- Attributes
-
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute