Visual Basic (Declaration) | |
---|---|
Protected Overrides Sub SetItem( _ ByVal index As Integer, _ ByVal item As WorkspaceInfo _ ) |
C# | |
---|---|
protected override void SetItem( int index, WorkspaceInfo item ) |
Parameters
- index
- The zero-based index of the WorkspaceInfo item to replace.
- item
- The WorkspaceInfo item with which to update an existing item at the specified index.
Exception | Description |
---|---|
System.InvalidOperationException | DynamicWorkspaces property cannot be modified when the service is running. |
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8