WorkflowFileItem Klasa
Definicja
Reprezentuje element ContextItem , który jest publikowany w kontekście edycji i zawiera informacje o pliku, na którym jest oparta bieżąca sesja edycji.Represents a ContextItem that is published in the editing context and that provides information about the file that the current editing session is based on. Należy pamiętać, że WorkflowFileItem wartość jest null
, na przykład, jeśli WorkflowDesigner działa bezpośrednio na wystąpieniu obiektu i nie wykonuje serializacji w formacie opartym na plikach.Note that it is possible that the WorkflowFileItem value is null
, for instance if a WorkflowDesigner operates directly on an object instance and does not serialize into a file-based format.
public ref class WorkflowFileItem : System::Activities::Presentation::ContextItem
public class WorkflowFileItem : System.Activities.Presentation.ContextItem
type WorkflowFileItem = class
inherit ContextItem
Public Class WorkflowFileItem
Inherits ContextItem
- Dziedziczenie
Konstruktory
WorkflowFileItem() |
Inicjuje nowe wystąpienie klasy WorkflowFileItem.Initializes a new instance of the WorkflowFileItem class. |
Właściwości
ItemType |
Zwraca typ elementu dla tego elementu pliku.Returns the item type for this file item. |
LoadedFile |
Zwraca nazwę ładowania pliku.Returns the name of the file that is being loaded. |
Metody
Equals(Object) |
Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.Determines whether the specified object is equal to the current object. (Odziedziczone po Object) |
GetHashCode() |
Służy jako domyślna funkcja skrótu.Serves as the default hash function. (Odziedziczone po Object) |
GetType() |
Pobiera Type bieżące wystąpienie.Gets the Type of the current instance. (Odziedziczone po Object) |
MemberwiseClone() |
Tworzy skróconą kopię bieżącego elementu Object .Creates a shallow copy of the current Object. (Odziedziczone po Object) |
OnItemChanged(EditingContext, ContextItem) |
Reprezentuje metodę, która jest wywoływana dla elementu kontekstu przed jego zapisaniem w Menedżerze elementów kontekstu.Represents a method that is called on the context item before it is stored in the context item manager. Poprzedni element w Menedżerze elementów kontekstu jest przekazaniem jako parametr.The previous item in the context item manager is passed as a parameter. (Odziedziczone po ContextItem) |
ToString() |
Zwraca ciąg reprezentujący bieżący obiekt.Returns a string that represents the current object. (Odziedziczone po Object) |