Share via


PropertyBag.GetState Method

Definition

Serializes the state of the property bag into a string.

public:
 System::String ^ GetState();
public string GetState ();
member this.GetState : unit -> string
Public Function GetState () As String

Returns

The serialized state of the collection.

Remarks

The property bag can be deserialized by using the CreatePropertyBagFromState method.

Applies to