Share via


SPColor.Open method (SPFile)

Opens an SPColor file given an SPFile

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

Syntax

'Declaration
Public Shared Function Open ( _
    file As SPFile _
) As SPColor
'Usage
Dim file As SPFile
Dim returnValue As SPColor

returnValue = SPColor.Open(file)
public static SPColor Open(
    SPFile file
)

Parameters

Return value

Type: Microsoft.SharePoint.Utilities.SPColor
An SPColor object representing the color palette opened, or null if no such file was found.

See also

Reference

SPColor class

SPColor members

Open overload

Microsoft.SharePoint.Utilities namespace