Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Shared Function FromRgbColor ( _
color As Color _
) As HslColor
'使用
Dim color As Color
Dim returnValue As HslColor
returnValue = HslColor.FromRgbColor(color)
public static HslColor FromRgbColor(
Color color
)
public:
static HslColor^ FromRgbColor(
Color color
)
public static function FromRgbColor(
color : Color
) : HslColor
Parameters
- color
Type: System.Drawing.Color
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.HslColor
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.