FormPropertyBag Class

 

Used to pass data from built-in UI to an adorner.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

System::Object
  System::MarshalByRefObject
    Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners::FormPropertyBag

[SerializableAttribute]
public ref class FormPropertyBag : MarshalByRefObject

NameDescription
System_CAPS_pubpropertyAddinData

Retrieves optional add-in data from a custom add-in UI.

System_CAPS_pubpropertyFirstName

Retrieves the first name of a user from the UI.

System_CAPS_pubpropertyLastName

Retrieves the last name of the user from a UI.

System_CAPS_pubpropertyPassword

Retrieves the password.

System_CAPS_pubpropertyUserName

Retrieves the user name.

NameDescription
System_CAPS_pubmethodCreateObjRef(Type^)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

For more information on using this class, see Extending and Replacing the Email UI.

The following code describes using FormPropertyBag to pass data into an overridden CreatePage method. For the complete sample, see Quickstart: Creating a Hosted Email Adapter.


public override ICollection<AddinPageContent> CreatePages(FormPropertyBag propertyBag)
{
    List<AddinPageContent> list = new List<AddinPageContent>();
    content = new DistributionGroupTabContent(propertyBag)
    {
        Title = Resources.DGTab_Name,
        HelpLink = null,
        HelpLinkText = null
    }; 
    list.Add(content);
    return list;
}

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

Return to top

Community Additions

ADD
Show: