MIME Type handlers define properties and commands relative to the Mime Type of a native file attached to a Batch Folder.
Method Name |
Description |
ClearCache() |
Clears any temporary objects which were cached during property reads. |
GetDescription(Extension As String) As String |
Parameters |
Extension |
Type: String |
|
|
GetIcon(Extension As String, LargeIcon As Boolean) As Bitmap |
Parameters |
Extension |
Type: String |
|
|
LargeIcon |
Type: Boolean |
|
|
GetMimeType(Extension As String) As String |
Parameters |
Extension |
Type: String |
|
|
GetMimeTypeHandler(MimeType As String, RepositoryId As Guid) As Type |
Returns the MIME type handler for the specified MIME type, if one exists. Otherwise, returns null.
Parameters |
MimeType |
Type: String |
The MIME type for which a handler should be found. |
|
RepositoryId |
Type: Guid |
The current repository ID. Necessary only when a type from an Object Library is being loaded. |
|
GetProperties() As PropertyDescriptorCollection |
|
GetReferences() As List(Of GrooperNode) |
Returns a list of GrooperNode objects referenced in the properties of this object. |
IsPropertyEnabled(PropertyName As String) As Nullable(Of Boolean) |
Defines whether a property is currently enabled.
Parameters |
PropertyName |
Type: String |
The name of the property to determine the enabled state for. |
|
IsPropertyVisible(PropertyName As String) As Nullable(Of Boolean) |
Defines whether a property is currently visible.
Parameters |
PropertyName |
Type: String |
The name of the property to determine the visible state for. |
|
IsType(Type As Type) As Boolean |
Returns true if the object is of the type specified, or if it derives from the type specfied.
Parameters |
Type |
Type: Type |
The type to check. |
|
Serialize() As String |
Serializes the object. |
SetDatabase(Database As GrooperDb) |
Sets the database connection of the object.
Parameters |
Database |
Type: GrooperDb |
|
|
SetOwner(Owner As ConnectedObject, SkipInitialization As Boolean) |
Sets the owner of the connected object with another object that implements the IConnected interface.
Parameters |
Owner |
Type: ConnectedObject |
|
|
SkipInitialization |
Type: Boolean |
|
|
ToString() As String |
Returns the display name. |
ValidateProperties() As ValidationErrorList |
Validates the properties of the object, returning a list of validation errors. |