PFFileReference Class |
Namespace: Packflow.Core
public sealed class PFFileReference : PFItemReference
The PFFileReference type exposes the following members.
| Name | Description | |
|---|---|---|
| PFFileReference(PFFile) |
Initializes a new instance of the PFFileReference class.
| |
| PFFileReference(PFSite, String) |
Initializes a new instance of the PFFileReference class.
|
| Name | Description | |
|---|---|---|
| ApplicationGuid |
Gets the parent application GUID.
(Inherited from PFItemReference.) | |
| ApplicationId |
Gets the parent application id.
(Inherited from PFItemReference.) | |
| ContentTypeGuid |
Gets the parent content-type GUID.
(Inherited from PFItemReference.) | |
| ContentTypeId |
Gets the parent content-type id.
(Inherited from PFItemReference.) | |
| FileGuid |
Gets the file GUID.
| |
| FileId |
Gets the file id.
| |
| ItemGuid |
Gets the item GUID.
(Inherited from PFItemReference.) | |
| ItemId |
Gets the item id.
(Inherited from PFItemReference.) | |
| ItemLoaded |
Gets a value indicating whether the PFItem instance is currently loaded.
(Inherited from PFItemReference.) | |
| Name |
Gets the file name.
| |
| Site |
Gets the parent site.
| |
| SiteGuid |
Gets the parent site GUID.
(Inherited from PFItemReference.) | |
| SiteId |
Gets the parent site id.
(Inherited from PFItemReference.) | |
| Text | Obsolete.
File name. Obsolete, use Name property.
| |
| Url |
Gets or sets the relative URL of the file.
Note: this URL may be outdated due to a change of application/content-type name.
The "GetFileUrl" method can be used instead.
|
| Name | Description | |
|---|---|---|
| GetFileAltUrl |
Gets an name based url to the file.
NOTE: this URL may be outdated if the name of the application, file or content-type has changed.
| |
| GetFileUrl |
Gets an up-to-date url to the file.
Note: the stored URL may be outdated if the name of the application or content-type has changed.
| |
| GetItem |
Gets the corresponding PFItem.
The item is just returned (without any query) if already loaded in this instance.
(Inherited from PFItemReference.) | |
| GetItemUrl |
Gets an up-to-date url to the item form.
Note: the stored URL may be outdated if the name of the target application or content-type has changed.
(Inherited from PFItemReference.) | |
| ToString |
Returns a string that represents the current object.
This string can be later used in the constructor to restore this object.
(Overrides PFItemReferenceToString.) | |
| UnloadItem |
Unloads the current loaded PFItem instance.
(Inherited from PFItemReference.) |
| Name | Description | |
|---|---|---|
| AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
| EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
| EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
| GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
| IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
| IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
| Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |