FileStatePersistenceService.Contains Method

Determines whether the file associated with the given state id exists.

Namespace: Microsoft.Practices.CompositeUI.Services
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)


Public Overrides Function Contains ( _
    id As String _
) As Boolean
Dim instance As FileStatePersistenceService
Dim id As String
Dim returnValue As Boolean

returnValue = instance.Contains(id)
public override bool Contains (
    string id
virtual bool Contains (
    String^ id
) override
public boolean Contains (
    String id
public override function Contains (
    id : String
) : boolean


  • id
    Identifier of the state.

Return Value

true if the file exists; otherwise false.

See Also


FileStatePersistenceService Class
FileStatePersistenceService Members
Microsoft.Practices.CompositeUI.Services Namespace