次の方法で共有


SPTheme.Open method (String, SPFile)

Opens an SPTheme file with the given name and color palette.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function Open ( _
    name As String, _
    colorPaletteFile As SPFile _
) As SPTheme
'Usage
Dim name As String
Dim colorPaletteFile As SPFile
Dim returnValue As SPTheme

returnValue = SPTheme.Open(name, colorPaletteFile)
public static SPTheme Open(
    string name,
    SPFile colorPaletteFile
)

Parameters

Return value

Type: Microsoft.SharePoint.Utilities.SPTheme
An SPTheme object.

See also

Reference

SPTheme class

SPTheme members

Open overload

Microsoft.SharePoint.Utilities namespace