Sdílet prostřednictvím


Utility Class

Applies to v2.

Represents a class that exposes a variety of helpful utility methods.

Inheritance Hierarchy

System.Object
  Microsoft.WebMatrix.Extensibility.Utility

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public NotInheritable Class Utility
'Usage
public static class Utility
public ref class Utility abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Utility =  class end
public final class Utility

The Utility type exposes the following members.

Methods

  Name Description
Public methodStatic member ConvertBitmapToImageSource Converts a Bitmap instance into an ImageSource.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.WebMatrix.Extensibility Namespace