SPTheme.GetThemeShadeByNameOrNull - Méthode (String)
Obtient une nuance thème par nom ou valeur null si aucune ombre de thème tel n'existe dans ce thème
Espace de noms : Microsoft.SharePoint.Utilities
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Function GetThemeShadeByNameOrNull ( _
colorName As String _
) As Nullable(Of Color)
'Utilisation
Dim instance As SPTheme
Dim colorName As String
Dim returnValue As Nullable(Of Color)
returnValue = instance.GetThemeShadeByNameOrNull(colorName)
public Nullable<Color> GetThemeShadeByNameOrNull(
string colorName
)
Paramètres
- colorName
Type : System.String
Valeur renvoyée
Type : System.Nullable<Color>
Une couleur qui représente la nuance de thème ou null si aucune ombre de thème tel n'existe dans ce thème.