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
file
Type: Microsoft.SharePoint.SPFileThe color palette file to open
Return value
Type: Microsoft.SharePoint.Utilities.SPColor
An SPColor object representing the color palette opened, or null if no such file was found.