Search Results for

    Show / Hide Table of Contents

    Class ResourceListResourceDocument

    Inheritance
    System.Object
    ResourceListResourceDocument
    Implements
    IRepositoryItem
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: OSGeo.MapGuide.ObjectModels.Common
    Assembly: OSGeo.MapGuide.ObjectModels.dll
    Syntax
    [Serializable]
    public class ResourceListResourceDocument : IRepositoryItem, INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    CreatedDate

    Declaration
    public DateTime CreatedDate { get; set; }
    Property Value
    Type Description
    System.DateTime
    | Improve this Doc View Source

    Depth

    Declaration
    public string Depth { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    HasChildren

    Declaration
    public bool HasChildren { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsFolder

    Declaration
    public bool IsFolder { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    ModifiedDate

    Declaration
    public DateTime ModifiedDate { get; set; }
    Property Value
    Type Description
    System.DateTime
    | Improve this Doc View Source

    Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Owner

    Declaration
    public string Owner { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ResourceDocumentHeader

    Declaration
    public ResourceDocumentHeaderType ResourceDocumentHeader { get; set; }
    Property Value
    Type Description
    ResourceDocumentHeaderType
    | Improve this Doc View Source

    ResourceId

    Declaration
    public string ResourceId { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ResourceType

    Declaration
    public string ResourceType { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Clone()

    Create a clone of this ResourceListResourceDocument object

    Declaration
    public virtual ResourceListResourceDocument Clone()
    Returns
    Type Description
    ResourceListResourceDocument
    | Improve this Doc View Source

    Deserialize(String)

    Declaration
    public static ResourceListResourceDocument Deserialize(string xml)
    Parameters
    Type Name Description
    System.String xml
    Returns
    Type Description
    ResourceListResourceDocument
    | Improve this Doc View Source

    Deserialize(String, out ResourceListResourceDocument)

    Declaration
    public static bool Deserialize(string xml, out ResourceListResourceDocument obj)
    Parameters
    Type Name Description
    System.String xml
    ResourceListResourceDocument obj
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Deserialize(String, out ResourceListResourceDocument, out Exception)

    Deserializes workflow markup into an ResourceListResourceDocument object

    Declaration
    public static bool Deserialize(string xml, out ResourceListResourceDocument obj, out Exception exception)
    Parameters
    Type Name Description
    System.String xml

    string workflow markup to deserialize

    ResourceListResourceDocument obj

    Output ResourceListResourceDocument object

    System.Exception exception

    output Exception value if deserialize failed

    Returns
    Type Description
    System.Boolean

    true if this XmlSerializer can deserialize the object; otherwise, false

    | Improve this Doc View Source

    LoadFromFile(String)

    Declaration
    public static ResourceListResourceDocument LoadFromFile(string fileName)
    Parameters
    Type Name Description
    System.String fileName
    Returns
    Type Description
    ResourceListResourceDocument
    | Improve this Doc View Source

    LoadFromFile(String, out ResourceListResourceDocument)

    Declaration
    public static bool LoadFromFile(string fileName, out ResourceListResourceDocument obj)
    Parameters
    Type Name Description
    System.String fileName
    ResourceListResourceDocument obj
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    LoadFromFile(String, out ResourceListResourceDocument, out Exception)

    Deserializes xml markup from file into an ResourceListResourceDocument object

    Declaration
    public static bool LoadFromFile(string fileName, out ResourceListResourceDocument obj, out Exception exception)
    Parameters
    Type Name Description
    System.String fileName

    string xml file to load and deserialize

    ResourceListResourceDocument obj

    Output ResourceListResourceDocument object

    System.Exception exception

    output Exception value if deserialize failed

    Returns
    Type Description
    System.Boolean

    true if this XmlSerializer can deserialize the object; otherwise, false

    | Improve this Doc View Source

    OnPropertyChanged(String)

    Declaration
    public virtual void OnPropertyChanged(string info)
    Parameters
    Type Name Description
    System.String info
    | Improve this Doc View Source

    SaveToFile(String)

    Declaration
    public virtual void SaveToFile(string fileName)
    Parameters
    Type Name Description
    System.String fileName
    | Improve this Doc View Source

    SaveToFile(String, out Exception)

    Serializes current ResourceListResourceDocument object into file

    Declaration
    public virtual bool SaveToFile(string fileName, out Exception exception)
    Parameters
    Type Name Description
    System.String fileName

    full path of outupt xml file

    System.Exception exception

    output Exception value if failed

    Returns
    Type Description
    System.Boolean

    true if can serialize and save into file; otherwise, false

    | Improve this Doc View Source

    Serialize()

    Serializes current ResourceListResourceDocument object into an XML document

    Declaration
    public virtual string Serialize()
    Returns
    Type Description
    System.String

    string XML value

    Events

    | Improve this Doc View Source

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    IRepositoryItem
    System.ComponentModel.INotifyPropertyChanged
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng