ThemeInfo.GetThemeShadeByName method
Gets the theme color for the specified name.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function GetThemeShadeByName ( _
name As String _
) As ClientResult(Of String)
'Usage
Dim instance As ThemeInfo
Dim name As String
Dim returnValue As ClientResult(Of String)
returnValue = instance.GetThemeShadeByName(name)
public ClientResult<string> GetThemeShadeByName(
string name
)
Parameters
name
Type: System.StringThe name of the color slot.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<String>
The theme color, or a null reference (Nothing in Visual Basic) if no such color slot exists.